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.001283/0.001283, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001476/0.001476, allocations: 161 kB / 24.16 MB, free: 336 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.9302/0.9302, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.958/1.958, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.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.723e-06/1.723e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.539e-05, allocations: 2.312 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001438/0.001453, allocations: 0.879 MB / 0.7609 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002248/0.001678, allocations: 99.56 kB / 0.761 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.001747, allocations: 4 kB / 0.761 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.001857, allocations: 25.69 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.001965, allocations: 18.91 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.383e-05/0.002029, allocations: 39.95 kB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.002236, allocations: 252.1 kB / 0.7613 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.002436, allocations: 182.8 kB / 0.7615 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.002627, allocations: 215.6 kB / 0.7617 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.002721, allocations: 113.6 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.002758, allocations: 32 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.406e-05/0.002782, allocations: 28 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.002839, allocations: 75.75 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.002896, allocations: 83.7 kB / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.003092, allocations: 260.4 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003094, allocations: 4 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003095, allocations: 0 / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.003098, allocations: 0 / 0.7622 GB, free: 4.41 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0003716/0.003469, allocations: 496.6 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.003497, allocations: 8.031 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.003551, allocations: 53.94 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.003765, allocations: 225.8 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.003803, allocations: 38.48 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.00383, allocations: 32.38 kB / 0.7631 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.004072, allocations: 263.8 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.004081, allocations: 1.438 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.0041, allocations: 12.38 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.004108, allocations: 8.375 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.004217, allocations: 113 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.004808, allocations: 0.618 MB / 0.764 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.004881, allocations: 61.66 kB / 0.7641 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.004899, allocations: 17.7 kB / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.004913, allocations: 4.719 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.004936, allocations: 36.11 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.004937, allocations: 0 / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001221/0.005059, allocations: 65.61 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.005095, allocations: 81.11 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.005244, allocations: 281.7 kB / 0.7646 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.005253, allocations: 25.7 kB / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.005323, allocations: 196.8 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.005335, allocations: 21.17 kB / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.005388, allocations: 65.62 kB / 0.7649 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.005465, allocations: 338.7 kB / 0.7652 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.005488, allocations: 16.73 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.005522, allocations: 33.64 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.005571, allocations: 50.41 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005573, allocations: 0 / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.111e-05/0.005664, allocations: 98.28 kB / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.005673, allocations: 4 kB / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.005676, allocations: 2.188 kB / 0.7654 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005689, allocations: 4 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.005762, allocations: 23.98 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.005767, allocations: 4 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.005794, allocations: 15.89 kB / 0.7654 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.005803, allocations: 4 kB / 0.7654 GB, free: 0.9531 MB / 0.7136 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 8.637e-05/0.00589, allocations: 145.6 kB / 0.7656 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.005916, allocations: 11.98 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.006016, allocations: 84.62 kB / 0.7657 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006019, allocations: 4 kB / 0.7657 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.006022, allocations: 5.797 kB / 0.7657 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006024, allocations: 3.938 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.006242, allocations: 444.5 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006243, allocations: 3.125 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.006256, allocations: 7.938 kB / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.006257, allocations: 0 / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.006261, allocations: 8 kB / 0.7661 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006262, allocations: 0 / 0.7661 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006263, allocations: 0 / 0.7661 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.883e-05/0.006322, allocations: 99.94 kB / 0.7662 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.006336, allocations: 15.91 kB / 0.7662 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006347, allocations: 6.812 kB / 0.7662 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.006366, allocations: 7.984 kB / 0.7662 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.006379, allocations: 7.938 kB / 0.7662 GB, free: 40 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.006381, allocations: 0 / 0.7662 GB, free: 40 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.659e-05/0.006447, allocations: 82.77 kB / 0.7663 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006447, allocations: 4 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001287/0.006576, allocations: 55.73 kB / 0.7664 GB, free: 15.9 MB / 0.7292 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 6.71e-05/0.006643, allocations: 90.09 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.006722, allocations: 56.72 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.006725, allocations: 1.281 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.006737, allocations: 20.78 kB / 0.7665 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.006842, allocations: 25.03 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.007218, allocations: 460.5 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.00726, allocations: 87.95 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.007292, allocations: 14.3 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.007346, allocations: 67.94 kB / 0.7672 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.007347, allocations: 0 / 0.7672 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.003002/0.01035, allocations: 1.318 MB / 0.7685 GB, free: 13.79 MB / 0.7292 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.074987031053752]