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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.1.|truArrConSam.uIdx.2.|truArrConSam.y1.1.|truArrConSam.y1.2.|truArrConGre.y1.1.|truArrConGre.y1.2.|truArrConGre.y1.3.|truArrConGre.y1.4.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006602/0.006602, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.915/2.915, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.000362, allocations: 8.5 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3743, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001552/0.3759, allocations: 0.6492 MB / 1.059 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3785, allocations: 1.439 MB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.3786, allocations: 7.938 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.3789, allocations: 63.8 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.379, allocations: 47.73 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.3799, allocations: 302 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.3803, allocations: 379.2 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3805, allocations: 49.66 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.3807, allocations: 143.5 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.381, allocations: 131.5 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.381, allocations: 15.94 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3812, allocations: 43.97 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3813, allocations: 71.8 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.3815, allocations: 153 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.382, allocations: 399 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.382, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.264e-06/0.382, allocations: 4 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.382, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 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.0009763/0.383, allocations: 0.5835 MB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3831, allocations: 8.031 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.128e-05/0.3832, allocations: 32.66 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.3836, allocations: 300.9 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3836, allocations: 16.38 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.3837, allocations: 24.36 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.384, allocations: 183.7 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3841, allocations: 192 / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3841, allocations: 7.938 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3841, allocations: 0 / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.3843, allocations: 127.8 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3854, allocations: 0.625 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.3859, allocations: 238.6 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.3861, allocations: 152.9 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.3861, allocations: 4 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.3866, allocations: 232.5 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 3.046e-06/0.3866, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.000903/0.3875, allocations: 0.5233 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.3876, allocations: 122.8 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.388, allocations: 255.9 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.3881, allocations: 37.7 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3882, allocations: 128.7 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.3883, allocations: 59.25 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.3884, allocations: 49.7 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3885, allocations: 334.8 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.3888, allocations: 175.8 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.3893, allocations: 289.6 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.3899, allocations: 491.4 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3899, allocations: 4 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008287/0.3908, allocations: 0.5825 MB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/0.3909, allocations: 139.1 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3909, allocations: 4 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3909, allocations: 7.938 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.391, allocations: 35.98 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.391, allocations: 7.984 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/0.3917, allocations: 116.7 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.3917, allocations: 23.92 kB / 1.068 GB, free: 11.28 MB / 0.8262 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.0003281/0.3921, allocations: 251.7 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3921, allocations: 31.72 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.3922, allocations: 22.55 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3922, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3922, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3922, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.3935, allocations: 0.8567 MB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3935, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.3935, allocations: 11.94 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3935, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.3936, allocations: 15.98 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3936, allocations: 3.938 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3936, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.3942, allocations: 0.5298 MB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3943, allocations: 96.91 kB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3944, allocations: 12 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3945, allocations: 27.92 kB / 1.07 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3946, allocations: 43.95 kB / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.3947, allocations: 19.98 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000157/0.3948, allocations: 173.6 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3948, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003765/0.3952, allocations: 87.84 kB / 1.07 GB, free: 8.961 MB / 0.8262 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.0002486/0.3955, allocations: 144.3 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008452/0.3963, allocations: 0.698 MB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3963, allocations: 0 / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.3968, allocations: 342.5 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3972, allocations: 56.95 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.3981, allocations: 0.546 MB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.3985, allocations: 0.7521 MB / 1.073 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.466e-05/0.3986, allocations: 33.94 kB / 1.073 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.3987, allocations: 23.42 kB / 1.073 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3987, allocations: 0 / 1.073 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.008768/0.4075, allocations: 4.597 MB / 1.077 GB, free: 1.711 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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