Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional",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.008825/0.008825, allocations: 99.44 kB / 15.73 MB, free: 5.996 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.002068/0.002068, allocations: 197 kB / 16.68 MB, free: 5.918 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.384/1.384, 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 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8389, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002468/0.8414, allocations: 0.9422 MB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.8435, allocations: 1.404 MB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.8437, allocations: 7.938 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.8441, allocations: 59.69 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.8443, allocations: 63.67 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009945/0.8453, allocations: 326.3 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006402/0.846, allocations: 455.3 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.8462, allocations: 53.66 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.8465, allocations: 171.6 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.8469, allocations: 159.5 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.847, allocations: 36 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.8472, allocations: 63.97 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.8473, allocations: 83.73 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.8475, allocations: 147.4 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.848, allocations: 441 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.848, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.848, allocations: 3.938 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.8481, allocations: 0 / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001043/0.8491, allocations: 0.6457 MB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.8492, allocations: 12.03 kB / 1.212 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/0.8492, allocations: 46.73 kB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.8494, allocations: 36.66 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.8498, allocations: 304.9 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.8499, allocations: 16.38 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.8499, allocations: 28.31 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.8503, allocations: 174.1 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.8503, allocations: 3.938 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.8503, allocations: 8 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8503, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.8505, allocations: 131.8 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.8515, allocations: 0.6289 MB / 1.213 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.8519, allocations: 238.4 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.8522, allocations: 165 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.8522, allocations: 0 / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.8525, allocations: 235.8 kB / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 3.126e-06/0.8525, allocations: 0 / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0007838/0.8533, allocations: 0.5216 MB / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.8534, allocations: 114.8 kB / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.8537, allocations: 256 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.8537, allocations: 37.7 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.8539, allocations: 128.7 kB / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.8539, allocations: 63.14 kB / 1.215 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.8541, allocations: 105.6 kB / 1.215 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8542, allocations: 338.8 kB / 1.216 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.8545, allocations: 159.9 kB / 1.216 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.8549, allocations: 301.5 kB / 1.216 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.8554, allocations: 491.4 kB / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8554, allocations: 0 / 1.217 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008275/0.8562, allocations: 0.5818 MB / 1.217 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.8563, allocations: 138.8 kB / 1.217 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8563, allocations: 4 kB / 1.217 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.8564, allocations: 4 kB / 1.217 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8565, allocations: 27.92 kB / 1.217 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.8565, allocations: 4 kB / 1.217 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.8571, allocations: 84.05 kB / 1.217 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.8571, allocations: 27.92 kB / 1.217 GB, free: 2.746 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.truArrConSam.u,$PRE.truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConGre.iIdx,truArrConGre.iTru,truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.uIdx[2],truArrConGre.uIdx[1],truArrConGre.u,uTru.idx,$PRE.uTru.idx,uTru.y[1],$PRE.uTru.y[1],uIdx2.booPul.y,$PRE.uIdx2.booPul.y,uIdx1.booPul.y,$PRE.uIdx1.booPul.y,truArrConSam.iIdx,truArrConSam.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.uIdx[2],truArrConSam.uIdx[1],truArrConSam.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 4 * 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.0002511/0.8574, allocations: 247.7 kB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.8574, allocations: 23.72 kB / 1.218 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.8575, allocations: 26.55 kB / 1.218 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.8575, allocations: 4 kB / 1.218 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8575, allocations: 0 / 1.218 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8575, allocations: 0 / 1.218 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.8586, allocations: 0.8532 MB / 1.218 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8586, allocations: 0 / 1.218 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.8587, allocations: 8 kB / 1.218 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.8587, allocations: 0 / 1.218 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.8587, allocations: 23.86 kB / 1.219 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8587, allocations: 4.062 kB / 1.219 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8587, allocations: 0 / 1.219 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.8594, allocations: 0.5419 MB / 1.219 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.8594, allocations: 108.7 kB / 1.219 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.8595, allocations: 15.94 kB / 1.219 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8597, allocations: 15.98 kB / 1.219 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.8598, allocations: 47.95 kB / 1.219 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.8598, allocations: 12 kB / 1.219 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001523/0.86, allocations: 173.6 kB / 1.219 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.86, allocations: 4 kB / 1.219 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003844/0.8603, allocations: 87.98 kB / 1.219 GB, free: 440 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 (truArrConSam.u,truArrConGre.u,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,truArrConSam.uIdx[1],truArrConSam.uIdx[2],truArrConSam.y1[1],truArrConSam.y1[2],truArrConSam.iTru,truArrConSam.iIdx,uIdx1.booPul.y,uIdx2.booPul.y,uTru.y[1],uTru.idx,truArrConGre.uIdx[1],truArrConGre.uIdx[2],truArrConGre.y1[1],truArrConGre.y1[2],truArrConGre.y1[3],truArrConGre.y1[4],truArrConGre.iTru,truArrConGre.iIdx) * Number of discrete states: 10 (truArrConGre.y1[4],truArrConGre.y1[3],truArrConGre.y1[2],truArrConGre.y1[1],truArrConGre.iIdx,truArrConGre.iTru,truArrConSam.y1[2],truArrConSam.y1[1],truArrConSam.iIdx,truArrConSam.iTru) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0009821/0.8613, allocations: 1.121 MB / 1.221 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008244/0.8622, allocations: 0.6964 MB / 1.221 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8622, allocations: 0 / 1.221 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.8625, allocations: 342.6 kB / 1.222 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.863, allocations: 56.78 kB / 1.222 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.8671, allocations: 3.461 MB / 1.225 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8674, allocations: 0.7401 MB / 1.226 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.8675, allocations: 37.94 kB / 1.226 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.8676, allocations: 71.41 kB / 1.226 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.8676, allocations: 4 kB / 1.226 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.8942, allocations: 7.212 MB / 1.233 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/9.088, allocations: 11.56 kB / 1.233 GB, free: 2.621 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches