Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.001007/0.001007, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001049/0.001049, allocations: 181 kB / 24.08 MB, free: 424 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.9475/0.9475, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.148e-05, allocations: 2.312 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001508/0.00153, allocations: 0.8612 MB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.001784, allocations: 100.2 kB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.001867, allocations: 0.9375 kB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.001981, allocations: 23.78 kB / 0.8129 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.002102, allocations: 19.8 kB / 0.813 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.554e-05/0.002167, allocations: 40.86 kB / 0.813 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.002375, allocations: 255.4 kB / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.002609, allocations: 175.4 kB / 0.8134 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.002847, allocations: 219.6 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.00294, allocations: 104.4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.002978, allocations: 28 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-05/0.003008, allocations: 29.59 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.003072, allocations: 87.67 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.003135, allocations: 83.77 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.00336, allocations: 251 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003361, allocations: 0.9375 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003362, allocations: 0 / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003367, allocations: 0 / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00044/0.003807, allocations: 0.6369 MB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003841, allocations: 8.031 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/0.003902, allocations: 70.39 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.004134, allocations: 256.7 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.004169, allocations: 33.03 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.004194, allocations: 29.91 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.004453, allocations: 258.6 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004463, allocations: 192 / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.00448, allocations: 16.31 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.004489, allocations: 9.531 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.004594, allocations: 99.36 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.005334, allocations: 0.8209 MB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.005415, allocations: 75.52 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.005435, allocations: 19.38 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.005452, allocations: 5.75 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.005475, allocations: 37.47 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.005476, allocations: 0 / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001574/0.005633, allocations: 78.28 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.005662, allocations: 77.11 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.005884, allocations: 396.6 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.005893, allocations: 25.7 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.006003, allocations: 271.6 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.006014, allocations: 11.91 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.006098, allocations: 91.84 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.006229, allocations: 0.5209 MB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.006258, allocations: 19.89 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.006299, allocations: 53.72 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.00636, allocations: 55.3 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006362, allocations: 2.562 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001163/0.006478, allocations: 121.4 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.00649, allocations: 4 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006494, allocations: 4 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.006506, allocations: 0 / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.006591, allocations: 31.92 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006594, allocations: 0.5312 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.00663, allocations: 23.83 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.00664, allocations: 4.719 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y,idxFirTru.booToInt[6].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[1].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 9.276e-05/0.006733, allocations: 177.1 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.006766, allocations: 27.86 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.006882, allocations: 94.83 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006884, allocations: 0 / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006885, allocations: 0.5938 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.00689, allocations: 4 kB / 0.8185 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.007209, allocations: 0.6488 MB / 0.8191 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.007212, allocations: 5.062 kB / 0.8191 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.007227, allocations: 8 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007229, allocations: 0 / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.007233, allocations: 1.094 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007235, allocations: 4 kB / 0.8192 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007236, allocations: 0 / 0.8192 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.068e-05/0.007317, allocations: 140.1 kB / 0.8193 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.007334, allocations: 15.86 kB / 0.8193 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.007346, allocations: 10.2 kB / 0.8193 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.007365, allocations: 0 / 0.8193 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.007379, allocations: 7.938 kB / 0.8193 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.007382, allocations: 0 / 0.8193 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.529e-05/0.007477, allocations: 217.1 kB / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007477, allocations: 0 / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001554/0.007632, allocations: 54.56 kB / 0.8196 GB, free: 9.391 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.022e-05/0.007713, allocations: 107.1 kB / 0.8197 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.007811, allocations: 59.58 kB / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.007813, allocations: 0 / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.007827, allocations: 21.16 kB / 0.8198 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.007988, allocations: 33 kB / 0.8198 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.008423, allocations: 445.8 kB / 0.8202 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.892e-05/0.008472, allocations: 88.52 kB / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.008508, allocations: 18.2 kB / 0.8203 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.008582, allocations: 94.19 kB / 0.8204 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.008582, allocations: 0.7188 kB / 0.8204 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of Templates: time 0.003529/0.01211, allocations: 1.275 MB / 0.8217 GB, free: 7.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.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: 4.915001452434808]