Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007943/0.0007943, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008133/0.0008133, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.652/1.652, allocations: 359 MB / 0.6044 GB, free: 11.08 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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.373e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001945/0.001979, allocations: 0.8443 MB / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003158/0.002295, allocations: 87.64 kB / 0.9526 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.002396, allocations: 7.938 kB / 0.9526 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.002529, allocations: 23.78 kB / 0.9526 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.002682, allocations: 23.78 kB / 0.9527 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 8.237e-05/0.002764, allocations: 35.97 kB / 0.9527 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.003042, allocations: 259.4 kB / 0.9529 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.003341, allocations: 166.9 kB / 0.9531 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.003535, allocations: 191.6 kB / 0.9533 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.003696, allocations: 123.7 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.003753, allocations: 32 kB / 0.9534 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.00379, allocations: 36 kB / 0.9535 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.003871, allocations: 87.67 kB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 9.368e-05/0.003965, allocations: 95.75 kB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.004423, allocations: 470.4 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.004427, allocations: 0 / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.874e-06/0.004429, allocations: 0 / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.004438, allocations: 0 / 0.9541 GB, free: 0.5469 MB / 0.9011 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.0007237/0.005162, allocations: 0.5267 MB / 0.9546 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.005207, allocations: 12.02 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.005283, allocations: 44.69 kB / 0.9547 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.005687, allocations: 277.6 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.005744, allocations: 37.02 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.005781, allocations: 28.38 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.006347, allocations: 408 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.006361, allocations: 192 / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.006389, allocations: 16.38 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.006401, allocations: 12.38 kB / 0.9554 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.006815, allocations: 299.5 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.0081, allocations: 0.8335 MB / 0.9565 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.008268, allocations: 93.16 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.044e-05/0.008328, allocations: 45.8 kB / 0.9566 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.008354, allocations: 4 kB / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.008388, allocations: 42.48 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.008389, allocations: 0 / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0003598/0.008749, allocations: 153.6 kB / 0.9568 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.008804, allocations: 85.05 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.00916, allocations: 337.6 kB / 0.9572 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.009177, allocations: 33.7 kB / 0.9573 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.009318, allocations: 216.3 kB / 0.9575 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.009335, allocations: 15.91 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.009444, allocations: 77.59 kB / 0.9576 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.009567, allocations: 338.8 kB / 0.9579 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.009678, allocations: 63.95 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.009791, allocations: 85.66 kB / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.009947, allocations: 117.5 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.009952, allocations: 4 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002804/0.01023, allocations: 193.4 kB / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.01025, allocations: 4 kB / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.01026, allocations: 4 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01028, allocations: 4 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.01044, allocations: 31.92 kB / 0.9584 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01044, allocations: 0 / 0.9584 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.0105, allocations: 15.89 kB / 0.9584 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.01052, allocations: 8 kB / 0.9584 GB, free: 11.93 MB / 0.9167 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 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.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.0002099/0.01073, allocations: 207.6 kB / 0.9586 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.01078, allocations: 19.86 kB / 0.9586 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.011, allocations: 104.7 kB / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.011, allocations: 0 / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.01101, allocations: 3.984 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01101, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.0115, allocations: 0.5585 MB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0115, allocations: 0 / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.01153, allocations: 4 kB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01153, allocations: 0 / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01154, allocations: 4 kB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01154, allocations: 8.125 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.01155, allocations: 3.938 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.01168, allocations: 119.6 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.01171, allocations: 19.84 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01174, allocations: 0 / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.01178, allocations: 7.938 kB / 0.9594 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.01181, allocations: 11.98 kB / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01182, allocations: 4.188 kB / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002283/0.01205, allocations: 233.2 kB / 0.9597 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01205, allocations: 11.81 kB / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002911/0.01234, allocations: 63.73 kB / 0.9597 GB, free: 10.46 MB / 0.9167 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.0001363/0.01248, allocations: 101.4 kB / 0.9598 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.0127, allocations: 95.89 kB / 0.9599 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.0127, allocations: 0 / 0.9599 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.01272, allocations: 19.92 kB / 0.9599 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01298, allocations: 20.5 kB / 0.96 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.01375, allocations: 0.511 MB / 0.9605 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.01392, allocations: 187.2 kB / 0.9606 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.01398, allocations: 16.5 kB / 0.9606 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of SimCode: time 7.22e-07/0.01398, allocations: 4 kB / 0.9607 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of Templates: time 0.005212/0.01919, allocations: 3.193 MB / 0.9638 GB, free: 6.258 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.606860931031406]