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.001407/0.001407, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001023/0.001023, allocations: 165.6 kB / 24.87 MB, free: 8.891 MB / 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.9774/0.9774, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.899/1.899, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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 2.114e-06/2.114e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.866e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002442/0.002471, allocations: 0.8655 MB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000381/0.002852, allocations: 87.7 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.002956, allocations: 4.719 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.003104, allocations: 29.03 kB / 0.8137 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.00325, allocations: 24.66 kB / 0.8137 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.822e-05/0.003338, allocations: 39.97 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.003613, allocations: 252.2 kB / 0.814 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.003921, allocations: 178.8 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.004224, allocations: 213.2 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.004379, allocations: 107.7 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.004432, allocations: 28 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.004472, allocations: 28 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.004556, allocations: 83.67 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.125e-05/0.004647, allocations: 89.28 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.004955, allocations: 247 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004959, allocations: 0 / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.00496, allocations: 0 / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.004966, allocations: 0.5 kB / 0.815 GB, free: 15.2 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.0006787/0.005645, allocations: 0.6409 MB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005685, allocations: 8.031 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.00579, allocations: 64.7 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.006141, allocations: 255 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.006195, allocations: 36.97 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.006241, allocations: 32.38 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.006665, allocations: 258.6 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.006679, allocations: 0.7188 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.006707, allocations: 13.09 kB / 0.8162 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.006717, allocations: 8.375 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.006917, allocations: 95.95 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.008071, allocations: 0.817 MB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008201, allocations: 83.75 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.008233, allocations: 19.38 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.008254, allocations: 4.594 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.008281, allocations: 37.47 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.008283, allocations: 0.6562 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002354/0.008519, allocations: 82.38 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.008564, allocations: 81.11 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.008937, allocations: 392.8 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.008953, allocations: 25.7 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.009126, allocations: 271.1 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.009143, allocations: 21.2 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.009269, allocations: 91.27 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.009441, allocations: 0.5156 MB / 0.8187 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.009489, allocations: 19.89 kB / 0.8187 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.009558, allocations: 43.28 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.009653, allocations: 67.22 kB / 0.8188 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009655, allocations: 0 / 0.8188 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001993/0.009855, allocations: 117.5 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.00987, allocations: 6.219 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.009876, allocations: 0 / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009888, allocations: 4 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01002, allocations: 35.92 kB / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.01003, allocations: 0 / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.01009, allocations: 15.83 kB / 0.819 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.0101, allocations: 6.906 kB / 0.819 GB, free: 10.85 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 0.0001382/0.01024, allocations: 182.5 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.0103, allocations: 23.8 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.01048, allocations: 90.39 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.01048, allocations: 1.469 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01048, allocations: 0 / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01048, allocations: 0 / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.01098, allocations: 0.6518 MB / 0.8199 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01098, allocations: 0.5625 kB / 0.8199 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.01101, allocations: 4.562 kB / 0.8199 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01101, allocations: 4 kB / 0.8199 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.01102, allocations: 0.625 kB / 0.8199 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01102, allocations: 1.312 kB / 0.8199 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.01102, allocations: 7.938 kB / 0.8199 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.01115, allocations: 127.3 kB / 0.82 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.01118, allocations: 26.41 kB / 0.8201 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.0112, allocations: 0 / 0.8201 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.01124, allocations: 4 kB / 0.8201 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.01127, allocations: 7.938 kB / 0.8201 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.01127, allocations: 4 kB / 0.8201 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000161/0.01143, allocations: 213 kB / 0.8203 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01143, allocations: 0 / 0.8203 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002895/0.01172, allocations: 60.53 kB / 0.8203 GB, free: 9.352 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 0.0001153/0.01184, allocations: 100.1 kB / 0.8204 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.01198, allocations: 63.58 kB / 0.8205 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01198, allocations: 1.219 kB / 0.8205 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.259e-05/0.01201, allocations: 16.47 kB / 0.8205 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01227, allocations: 39.72 kB / 0.8206 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.0129, allocations: 457.4 kB / 0.821 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.268e-05/0.01297, allocations: 87.81 kB / 0.8211 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.603e-05/0.01302, allocations: 21.62 kB / 0.8211 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.01311, allocations: 90.19 kB / 0.8212 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.01311, allocations: 0 / 0.8212 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of Templates: time 0.00466/0.01777, allocations: 1.299 MB / 0.8224 GB, free: 7.168 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: 5.118915354833007]