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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001453/0.001453, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001449/0.001449, allocations: 191.1 kB / 16.25 MB, free: 6.152 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 482.4 MB / 0.7544 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.98 kB / 0.9235 GB, free: 29.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2659, allocations: 162.2 MB / 1.082 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.002017/0.2679, allocations: 0.9835 MB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2696, allocations: 1.404 MB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.2697, allocations: 4 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.27, allocations: 63.73 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/0.2701, allocations: 51.75 kB / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.2708, allocations: 305.2 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000446/0.2712, allocations: 451.2 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2714, allocations: 61.62 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.2715, allocations: 163.6 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.2718, allocations: 151.5 kB / 1.085 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.2718, allocations: 36 kB / 1.085 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.272, allocations: 63.97 kB / 1.086 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2721, allocations: 83.78 kB / 1.086 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2722, allocations: 143.4 kB / 1.086 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.2727, allocations: 431.1 kB / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2727, allocations: 3.938 kB / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2727, allocations: 0 / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2727, allocations: 0 / 1.086 GB, free: 9.145 MB / 0.8419 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.0008224/0.2735, allocations: 0.6554 MB / 1.087 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2735, allocations: 8.031 kB / 1.087 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.2736, allocations: 46.73 kB / 1.087 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.2737, allocations: 28.66 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.274, allocations: 304.7 kB / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.2741, allocations: 16.38 kB / 1.087 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.2741, allocations: 28.31 kB / 1.087 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2744, allocations: 182 kB / 1.087 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2745, allocations: 7.938 kB / 1.087 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2745, allocations: 4 kB / 1.087 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2745, allocations: 8 kB / 1.087 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.2747, allocations: 123.9 kB / 1.088 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.2756, allocations: 0.6289 MB / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.276, allocations: 234.5 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.2762, allocations: 156.9 kB / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.2762, allocations: 0 / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.2766, allocations: 231.9 kB / 1.089 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.2766, allocations: 4 kB / 1.089 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.0007472/0.2773, allocations: 0.5093 MB / 1.089 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.2774, allocations: 122.8 kB / 1.089 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.2777, allocations: 249.3 kB / 1.09 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.2777, allocations: 41.64 kB / 1.09 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2778, allocations: 132.7 kB / 1.09 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.2779, allocations: 55.27 kB / 1.09 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.2781, allocations: 101.6 kB / 1.09 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2782, allocations: 346.7 kB / 1.09 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.2785, allocations: 163.9 kB / 1.09 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.2789, allocations: 297.5 kB / 1.091 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.2794, allocations: 485.6 kB / 1.091 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2794, allocations: 4 kB / 1.091 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008395/0.2802, allocations: 0.5788 MB / 1.092 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2804, allocations: 152.5 kB / 1.092 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2804, allocations: 0 / 1.092 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2804, allocations: 7.984 kB / 1.092 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.2805, allocations: 27.92 kB / 1.092 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2805, allocations: 4 kB / 1.092 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.2811, allocations: 91.69 kB / 1.092 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.2811, allocations: 23.94 kB / 1.092 GB, free: 2.711 MB / 0.8419 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.00023/0.2813, allocations: 245.3 kB / 1.092 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.2814, allocations: 27.72 kB / 1.092 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.2814, allocations: 22.55 kB / 1.092 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2815, allocations: 4 kB / 1.092 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2815, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2815, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.2825, allocations: 0.8644 MB / 1.093 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2825, allocations: 0 / 1.093 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.2826, allocations: 15.98 kB / 1.093 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2826, allocations: 3.938 kB / 1.093 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2826, allocations: 15.94 kB / 1.093 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2826, allocations: 0 / 1.093 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2826, allocations: 3.938 kB / 1.093 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.2832, allocations: 0.5337 MB / 1.094 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.2833, allocations: 96.97 kB / 1.094 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.2834, allocations: 23.92 kB / 1.094 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2835, allocations: 8 kB / 1.094 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2836, allocations: 51.95 kB / 1.094 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.2837, allocations: 15.98 kB / 1.094 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001602/0.2838, allocations: 172.5 kB / 1.094 GB, free: 496 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2838, allocations: 0 / 1.094 GB, free: 496 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003491/0.2842, allocations: 91.84 kB / 1.094 GB, free: 404 kB / 0.8419 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.0009999/0.2852, allocations: 1.12 MB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008535/0.2861, allocations: 0.7237 MB / 1.096 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2861, allocations: 0 / 1.096 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.2864, allocations: 340.5 kB / 1.096 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.2868, allocations: 52.39 kB / 1.096 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.2909, allocations: 3.477 MB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.2912, allocations: 0.7477 MB / 1.1 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.441e-05/0.2913, allocations: 37.94 kB / 1.1 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.2914, allocations: 71.41 kB / 1.101 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2914, allocations: 0 / 1.101 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.869/3.16, allocations: 6.887 MB / 1.107 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/3.161, allocations: 239.4 kB / 1.107 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/5.303, allocations: 0 / 1.107 GB, free: 2.621 MB / 0.8575 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=400 --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