Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9929/0.9929, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.839/1.839, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.[0-9,]+.|truArrConSam.y1.[0-9,]+.|truArrConGre.y1.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|truArrConSam.u|truArrConSam.uIdx.[0-9,]+.|truArrConSam.y1.[0-9,]+.|truArrConGre.y1.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.526e-06/3.526e-06, allocations: 0.5469 kB / 0.7871 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.689e-05, allocations: 4.062 kB / 0.7871 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.005466/0.005503, allocations: 0.9394 MB / 0.788 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005378/0.01088, allocations: 1.445 MB / 0.7894 GB, free: 9.375 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.01103, allocations: 0 / 0.7894 GB, free: 9.375 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.01148, allocations: 73.22 kB / 0.7895 GB, free: 9.305 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.0116, allocations: 59.62 kB / 0.7895 GB, free: 9.246 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.01254, allocations: 321.1 kB / 0.7898 GB, free: 8.934 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.01612, allocations: 440.5 kB / 0.7903 GB, free: 8.504 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.01629, allocations: 41.77 kB / 0.7903 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.01657, allocations: 235.6 kB / 0.7905 GB, free: 8.234 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.01688, allocations: 144.5 kB / 0.7907 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.608e-05/0.01695, allocations: 36 kB / 0.7907 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.01711, allocations: 76.45 kB / 0.7908 GB, free: 7.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.01725, allocations: 84.47 kB / 0.7908 GB, free: 7.902 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.0174, allocations: 115.7 kB / 0.791 GB, free: 7.789 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.01785, allocations: 324 kB / 0.7913 GB, free: 7.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01785, allocations: 0 / 0.7913 GB, free: 7.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01785, allocations: 0 / 0.7913 GB, free: 7.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.01786, allocations: 0.6562 kB / 0.7913 GB, free: 7.473 MB / 0.698 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.003905/0.02177, allocations: 0.6861 MB / 0.7919 GB, free: 6.723 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.02181, allocations: 8.031 kB / 0.7919 GB, free: 6.715 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.02193, allocations: 38.45 kB / 0.792 GB, free: 6.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.02233, allocations: 249 kB / 0.7922 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.02236, allocations: 12.38 kB / 0.7922 GB, free: 6.395 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.02242, allocations: 25.7 kB / 0.7922 GB, free: 6.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.02276, allocations: 242.1 kB / 0.7925 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.02277, allocations: 4.188 kB / 0.7925 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.02279, allocations: 4.375 kB / 0.7925 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.0228, allocations: 5.969 kB / 0.7925 GB, free: 6.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.02302, allocations: 162.4 kB / 0.7926 GB, free: 5.934 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/0.02391, allocations: 0.5422 MB / 0.7932 GB, free: 5.355 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.02432, allocations: 231 kB / 0.7934 GB, free: 5.105 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.02451, allocations: 178.6 kB / 0.7936 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.02452, allocations: 0 / 0.7936 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003422/0.02794, allocations: 293.6 kB / 0.7938 GB, free: 4.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.464e-06/0.02795, allocations: 0 / 0.7938 GB, free: 4.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.000833/0.02878, allocations: 0.601 MB / 0.7944 GB, free: 3.961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.02886, allocations: 114.8 kB / 0.7945 GB, free: 3.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.02917, allocations: 286.7 kB / 0.7948 GB, free: 3.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.02922, allocations: 37.7 kB / 0.7949 GB, free: 3.484 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.02933, allocations: 176 kB / 0.795 GB, free: 3.309 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.02939, allocations: 71.94 kB / 0.7951 GB, free: 3.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.02956, allocations: 107.3 kB / 0.7952 GB, free: 3.125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.02971, allocations: 0.5088 MB / 0.7957 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.03002, allocations: 262.7 kB / 0.7959 GB, free: 2.324 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.03359, allocations: 0.5381 MB / 0.7965 GB, free: 1.664 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.03408, allocations: 473.7 kB / 0.7969 GB, free: 1.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.03408, allocations: 4.594 kB / 0.7969 GB, free: 1.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008734/0.03496, allocations: 0.677 MB / 0.7976 GB, free: 396 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.939e-05/0.03505, allocations: 135.6 kB / 0.7977 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.03505, allocations: 3.938 kB / 0.7977 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.03507, allocations: 10.16 kB / 0.7977 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.03519, allocations: 27.98 kB / 0.7978 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.0352, allocations: 8 kB / 0.7978 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.03556, allocations: 75.78 kB / 0.7978 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.03561, allocations: 19.22 kB / 0.7979 GB, free: 96 kB / 0.698 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.0002385/0.03585, allocations: 274.4 kB / 0.7981 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.03591, allocations: 43.78 kB / 0.7982 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.03596, allocations: 18.66 kB / 0.7982 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.03596, allocations: 4 kB / 0.7982 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.03597, allocations: 1.125 kB / 0.7982 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.03597, allocations: 3.984 kB / 0.7982 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.04004, allocations: 0.8281 MB / 0.799 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.04005, allocations: 0.5312 kB / 0.799 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.04009, allocations: 16.52 kB / 0.799 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.0401, allocations: 0.5625 kB / 0.799 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.04012, allocations: 12 kB / 0.799 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.04012, allocations: 1.094 kB / 0.799 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04013, allocations: 0 / 0.799 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.04099, allocations: 0.6278 MB / 0.7996 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.04103, allocations: 24.64 kB / 0.7997 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.04108, allocations: 15.98 kB / 0.7997 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.04121, allocations: 9.219 kB / 0.7997 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.04132, allocations: 51.88 kB / 0.7997 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.04135, allocations: 12 kB / 0.7997 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001415/0.04149, allocations: 191.1 kB / 0.7999 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04149, allocations: 0 / 0.7999 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004294/0.04192, allocations: 83.94 kB / 0.8 GB, free: 13.76 MB / 0.7136 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.0002465/0.04216, allocations: 151.6 kB / 0.8001 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003877/0.04604, allocations: 0.762 MB / 0.8009 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.04604, allocations: 4.969 kB / 0.8009 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.04636, allocations: 335.8 kB / 0.8012 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.04682, allocations: 70.23 kB / 0.8013 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/0.04766, allocations: 0.5211 MB / 0.8018 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.554e-05/0.04772, allocations: 84.31 kB / 0.8019 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.916e-05/0.04782, allocations: 33.94 kB / 0.8019 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.04787, allocations: 28.48 kB / 0.8019 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of SimCode: time 1.643e-06/0.04788, allocations: 0 / 0.8019 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.01132/0.05919, allocations: 5.336 MB / 0.8071 GB, free: 6.406 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_TrueArrayConditional.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.197854139143601]