Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 71.88 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5824, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002219/0.5847, allocations: 1.345 MB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.5864, allocations: 1.553 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.5866, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.5867, allocations: 31.55 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.5869, allocations: 71.36 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.5879, allocations: 497.3 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005653/0.5884, allocations: 0.6795 MB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.5887, allocations: 171.1 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.589, allocations: 255.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.5892, allocations: 219.1 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.5893, allocations: 68 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.5894, allocations: 79.97 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.5895, allocations: 83.64 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.5897, allocations: 243 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.5903, allocations: 0.6699 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5903, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5903, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.5903, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001074/0.5914, allocations: 0.9486 MB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5914, allocations: 8.031 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.5915, allocations: 58.73 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5916, allocations: 48.47 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.5928, allocations: 491.6 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.5928, allocations: 24.94 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.5929, allocations: 44.36 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.5935, allocations: 325.1 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5935, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.5935, allocations: 8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.5935, allocations: 8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.5941, allocations: 258 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.5955, allocations: 0.9082 MB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.5961, allocations: 382.6 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.5966, allocations: 281.9 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.5966, allocations: 4 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.5971, allocations: 334.9 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 1.834e-06/0.5971, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001442/0.5986, allocations: 0.8304 MB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.5987, allocations: 195.9 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5989, allocations: 292.4 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.599, allocations: 49.64 kB / 1.029 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5991, allocations: 156.9 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.5992, allocations: 138.1 kB / 1.029 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.5994, allocations: 134.1 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5996, allocations: 346.8 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.6002, allocations: 272.8 kB / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.6008, allocations: 365.8 kB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.6019, allocations: 0.9127 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6019, allocations: 3.984 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00147/0.6033, allocations: 0.99 MB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.6035, allocations: 259.3 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6035, allocations: 0 / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6035, allocations: 4 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.6038, allocations: 71.83 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6038, allocations: 11.92 kB / 1.032 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.6045, allocations: 143.6 kB / 1.032 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/0.6046, allocations: 67.92 kB / 1.032 GB, free: 2.633 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.6048, allocations: 318.1 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.6049, allocations: 43.53 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.6049, allocations: 39.48 kB / 1.033 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6049, allocations: 4 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.605, allocations: 0 / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.605, allocations: 3.984 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.6065, allocations: 1.202 MB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6065, allocations: 0 / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.6067, allocations: 71.88 kB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6067, allocations: 3.938 kB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.6068, allocations: 16 kB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6068, allocations: 3.938 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6068, allocations: 0 / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/0.6078, allocations: 0.7691 MB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.6078, allocations: 104.7 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.6079, allocations: 15.88 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.6081, allocations: 35.91 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.6082, allocations: 35.95 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.6082, allocations: 47.94 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001499/0.6084, allocations: 199.1 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6084, allocations: 0 / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003647/0.6088, allocations: 111.8 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/0.6101, allocations: 1.322 MB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.6115, allocations: 1.199 MB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6115, allocations: 0 / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.6121, allocations: 0.5202 MB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.6126, allocations: 92.95 kB / 1.038 GB, free: 12.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.6184, allocations: 4.641 MB / 1.043 GB, free: 7.242 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.6187, allocations: 0.8002 MB / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.619, allocations: 95.19 kB / 1.044 GB, free: 6.324 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.6191, allocations: 115.4 kB / 1.044 GB, free: 6.211 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.6191, allocations: 0 / 1.044 GB, free: 6.211 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09907/0.7182, allocations: 9.737 MB / 1.053 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.099, allocations: 6.875 kB / 1.053 GB, free: 12.62 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches