Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 115.3 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 75.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6797, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002063/0.6818, allocations: 0.8705 MB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.6821, allocations: 87.7 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.6822, allocations: 4 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.6824, allocations: 23.73 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.6825, allocations: 19.86 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.953e-05/0.6826, allocations: 39.95 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.6829, allocations: 247.5 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.6834, allocations: 298.3 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.6835, allocations: 135.4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.6837, allocations: 139.3 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.6837, allocations: 32 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.6838, allocations: 36 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.6839, allocations: 79.78 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.684, allocations: 151.1 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.6844, allocations: 466.3 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6844, allocations: 0 / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6844, allocations: 4 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6845, allocations: 0 / 1.211 GB, free: 11.16 MB / 0.9356 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.0007232/0.6852, allocations: 0.5943 MB / 1.212 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6852, allocations: 8.031 kB / 1.212 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.6853, allocations: 40.47 kB / 1.212 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.6857, allocations: 336.1 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.6858, allocations: 29.03 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.6858, allocations: 32.38 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.6864, allocations: 408.2 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6864, allocations: 192 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.6865, allocations: 15.94 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.6865, allocations: 8 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.687, allocations: 307.5 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.6883, allocations: 1.053 MB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.6884, allocations: 93.16 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.6885, allocations: 45.78 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.6885, allocations: 3.938 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.6886, allocations: 38.56 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.6886, allocations: 8 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003313/0.6889, allocations: 161.2 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.6889, allocations: 81.05 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.6895, allocations: 0.5052 MB / 1.215 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.6895, allocations: 25.7 kB / 1.215 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.6896, allocations: 211.5 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.6897, allocations: 19.75 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.6897, allocations: 53.69 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6898, allocations: 346.8 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.69, allocations: 67.94 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.6901, allocations: 91.77 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.6902, allocations: 113.6 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6903, allocations: 0 / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002872/0.6905, allocations: 209.1 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.6906, allocations: 8 kB / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6906, allocations: 0 / 1.216 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6906, allocations: 7.984 kB / 1.216 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.6907, allocations: 28 kB / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6908, allocations: 3.938 kB / 1.216 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.6908, allocations: 31.59 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.6909, allocations: 12.36 kB / 1.216 GB, free: 5.961 MB / 0.9356 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.0001893/0.6911, allocations: 204 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.6911, allocations: 31.62 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.6913, allocations: 118 kB / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6914, allocations: 0 / 1.216 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6914, allocations: 7.922 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.6915, allocations: 116.7 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.6915, allocations: 0 / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.6915, allocations: 7.984 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.6916, allocations: 3.938 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001204/0.6917, allocations: 216.2 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000178/0.6919, allocations: 329.6 kB / 1.217 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.002e-05/0.6919, allocations: 16 kB / 1.217 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003749/0.6923, allocations: 383 kB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of Backend: time 6.62e-07/0.6923, allocations: 4.062 kB / 1.217 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.6928, allocations: 170.3 kB / 1.217 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000852/0.6937, allocations: 0.9533 MB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.005604/0.6993, allocations: 2.459 MB / 1.221 GB, free: 0.8789 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches