Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00121/0.00121, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001446/0.001446, allocations: 161.4 kB / 24.16 MB, free: 332 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0.875 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.399e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional): time 0.001675/0.001699, allocations: 0.9352 MB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.003269, allocations: 1.451 MB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.003353, allocations: 10.59 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.003712, allocations: 75.59 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.003784, allocations: 59.42 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.004389, allocations: 323.1 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.004748, allocations: 440 kB / 0.7632 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004865, allocations: 42.42 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.005055, allocations: 232.7 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.005266, allocations: 135.6 kB / 0.7636 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.00531, allocations: 33.03 kB / 0.7636 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.005425, allocations: 75.83 kB / 0.7637 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.00552, allocations: 79.78 kB / 0.7638 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.804e-05/0.005618, allocations: 116.5 kB / 0.7639 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.005922, allocations: 331 kB / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005926, allocations: 1.469 kB / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005927, allocations: 0 / 0.7642 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00593, allocations: 0 / 0.7642 GB, free: 2.383 MB / 0.7136 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.0006018/0.006532, allocations: 0.535 MB / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.006564, allocations: 8.031 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.006625, allocations: 36.91 kB / 0.7648 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.00687, allocations: 199.5 kB / 0.765 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.006895, allocations: 24.3 kB / 0.765 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.006931, allocations: 20.38 kB / 0.765 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.007133, allocations: 198.3 kB / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.007141, allocations: 192 / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.007154, allocations: 8.359 kB / 0.7652 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.007161, allocations: 9.391 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.007249, allocations: 118.4 kB / 0.7653 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.007723, allocations: 330 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.007947, allocations: 217 kB / 0.7658 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.28e-05/0.00804, allocations: 136.2 kB / 0.766 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-06/0.008047, allocations: 0 / 0.766 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.008246, allocations: 247.3 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.303e-06/0.008247, allocations: 0 / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0003634/0.008611, allocations: 437 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.008662, allocations: 120.3 kB / 0.7667 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.008788, allocations: 215.3 kB / 0.7669 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.008822, allocations: 37.7 kB / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.008879, allocations: 116.7 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.008914, allocations: 56.08 kB / 0.7671 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.009017, allocations: 93.59 kB / 0.7672 GB, free: 15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.009101, allocations: 335.5 kB / 0.7675 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.009245, allocations: 213.6 kB / 0.7678 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.009475, allocations: 453.6 kB / 0.7682 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.009731, allocations: 420.6 kB / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.009734, allocations: 0 / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003787/0.01011, allocations: 0.5281 MB / 0.7691 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.01018, allocations: 138.8 kB / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01019, allocations: 0 / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.0102, allocations: 4 kB / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.01028, allocations: 27.92 kB / 0.7693 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.01029, allocations: 12.95 kB / 0.7693 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.01049, allocations: 72.67 kB / 0.7693 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.01052, allocations: 19.98 kB / 0.7694 GB, free: 12.53 MB / 0.7292 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.000146/0.01067, allocations: 222 kB / 0.7696 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.0107, allocations: 35.91 kB / 0.7696 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.01073, allocations: 22.66 kB / 0.7696 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01074, allocations: 0 / 0.7696 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01074, allocations: 0 / 0.7696 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01074, allocations: 3.984 kB / 0.7696 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.01124, allocations: 0.6033 MB / 0.7702 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01124, allocations: 4.062 kB / 0.7702 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.01127, allocations: 19.92 kB / 0.7702 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01127, allocations: 3.984 kB / 0.7703 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01128, allocations: 4 kB / 0.7703 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01129, allocations: 0 / 0.7703 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01129, allocations: 0 / 0.7703 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.01156, allocations: 497.4 kB / 0.7707 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.01158, allocations: 25.47 kB / 0.7708 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.01161, allocations: 15.98 kB / 0.7708 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.01169, allocations: 11.98 kB / 0.7708 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.01176, allocations: 46.78 kB / 0.7708 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.01177, allocations: 9.062 kB / 0.7708 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.01183, allocations: 67.36 kB / 0.7709 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01183, allocations: 3.938 kB / 0.7709 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002303/0.01206, allocations: 84.59 kB / 0.771 GB, free: 10.77 MB / 0.7292 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.000175/0.01223, allocations: 127 kB / 0.7711 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.01266, allocations: 0.6578 MB / 0.7717 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/0.01266, allocations: 4.594 kB / 0.7718 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.01282, allocations: 292.4 kB / 0.772 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01305, allocations: 57.36 kB / 0.7721 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.01357, allocations: 0.4964 MB / 0.7726 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01362, allocations: 80.92 kB / 0.7726 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.47e-05/0.01367, allocations: 27.16 kB / 0.7727 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.01388, allocations: 148.8 kB / 0.7728 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.01388, allocations: 0 / 0.7728 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of Templates: time 0.007041/0.02093, allocations: 5.701 MB / 0.7784 GB, free: 3.281 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.TrueArrayConditional_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.263992262072861]