Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.008058/0.008058, allocations: 100.6 kB / 15.73 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.423/2.423, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9593, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002393/0.9617, allocations: 1.02 MB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.9637, allocations: 1.327 MB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.244e-05/0.9638, allocations: 7.938 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.9639, allocations: 11.81 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.9641, allocations: 47.64 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.9649, allocations: 274.2 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.9653, allocations: 399.2 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.9655, allocations: 67.91 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.9657, allocations: 159.6 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.9659, allocations: 123.6 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.9659, allocations: 36 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.9661, allocations: 59.91 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.9662, allocations: 59.77 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.9663, allocations: 135.4 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.9667, allocations: 406.7 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9668, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9668, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.9668, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000997/0.9678, allocations: 0.6187 MB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.9679, allocations: 12.92 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.9679, allocations: 42.73 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.968, allocations: 32.66 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009145/0.9689, allocations: 370.8 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.969, allocations: 16.36 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.969, allocations: 24.38 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.9695, allocations: 206.1 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9695, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.9695, allocations: 8 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9695, allocations: 4 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.97, allocations: 147.8 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.9711, allocations: 0.907 MB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.9714, allocations: 149 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.9716, allocations: 84.3 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.9717, allocations: 7.938 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.9721, allocations: 179.3 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.9721, allocations: 0 / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0008426/0.9729, allocations: 257.2 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.973, allocations: 158.2 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.9732, allocations: 221 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.9732, allocations: 33.98 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.9734, allocations: 156.2 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.9734, allocations: 31.55 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.9735, allocations: 61.67 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9736, allocations: 338.7 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.974, allocations: 99.91 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.9743, allocations: 169.4 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.9749, allocations: 274.9 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9749, allocations: 4 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008453/0.9757, allocations: 368.7 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.9758, allocations: 63.41 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9758, allocations: 0 / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.9759, allocations: 4 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.976, allocations: 31.91 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.976, allocations: 4 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.9765, allocations: 91.83 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.9766, allocations: 15.98 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001419/0.9767, allocations: 145.8 kB / 1.175 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.9767, allocations: 19.81 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.9768, allocations: 21.23 kB / 1.175 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9768, allocations: 8 kB / 1.175 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9768, allocations: 0 / 1.175 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9768, allocations: 4 kB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.9771, allocations: 265.4 kB / 1.176 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9771, allocations: 7.875 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.9772, allocations: 23.97 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9772, allocations: 4 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9772, allocations: 4 kB / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9773, allocations: 0 / 1.176 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9773, allocations: 7.984 kB / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.9778, allocations: 236.1 kB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.9779, allocations: 100.9 kB / 1.176 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.9779, allocations: 3.984 kB / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.978, allocations: 15.98 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.9781, allocations: 12.45 kB / 1.176 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.9781, allocations: 15.92 kB / 1.176 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001281/0.9782, allocations: 164.5 kB / 1.176 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9782, allocations: 3.938 kB / 1.176 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000294/0.9785, allocations: 51.91 kB / 1.176 GB, free: 8.887 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008972/0.9794, allocations: 0.7872 MB / 1.177 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007642/0.9802, allocations: 342.5 kB / 1.177 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.9802, allocations: 4 kB / 1.177 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.9805, allocations: 80.44 kB / 1.177 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.9809, allocations: 40.34 kB / 1.177 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.9847, allocations: 2.569 MB / 1.18 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.985, allocations: 0.7437 MB / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.9852, allocations: 37.53 kB / 1.181 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.9853, allocations: 63.41 kB / 1.181 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of SimCode: time 7.51e-07/0.9853, allocations: 0 / 1.181 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/1.009, allocations: 5.352 MB / 1.186 GB, free: 14.79 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.637, allocations: 19.86 kB / 1.186 GB, free: 14.78 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches