Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003035/0.0003035, allocations: 0 / 0, free: 0 / 0 " [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.0002537/0.0002537, allocations: 0 / 0, free: 0 / 0 " [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.1343/0.1343, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.2614/0.2614, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.171e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001227/0.001249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.000188/0.001437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.001482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 8.546e-05/0.001568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.00166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 6.082e-05/0.00172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002078/0.001928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.002199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.002492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.002602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.002647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.00267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.002754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.002828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.003126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.41e-05/0.00316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.433e-06/0.003162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.216e-06/0.00317, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006926/0.003862, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.044e-05/0.003953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.004066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.004382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.00445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.004514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.005001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.00502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.005067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.005075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.005242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.006176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 6.411e-05/0.006241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.006271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.006288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.006306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=2): time 3.807e-06/0.00631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2): time 0.0001693/0.006479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.006504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.006784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.006802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.006902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.006918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.007038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 6.263e-05/0.0071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.663e-05/0.007137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.007189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 9.158e-05/0.00728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.007284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=14) (initialization): time 0.000198/0.007482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.007505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.007513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.007536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.007644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.007654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.007704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.007727, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (idxLasTruAllFal.booToInt[6].y,idxLasTruAllFal.booToInt[5].y,idxLasTruAllFal.booToInt[4].y,idxLasTruAllFal.booToInt[3].y,idxLasTruAllFal.booToInt[2].y,idxLasTruAllFal.booToInt[1].y,idxLasTruAllFal.y,idxLasTru.booToInt[6].y,idxLasTru.booToInt[5].y,idxLasTru.booToInt[4].y,idxLasTru.booToInt[3].y,idxLasTru.booToInt[2].y,idxLasTru.booToInt[1].y,idxLasTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001172/0.007844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.007881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.008016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.008039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/0.008061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.008079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.008379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.008391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.008402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.008421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.008442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.008459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-05/0.008476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.008541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.008588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.008671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.008752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.008772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.008782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001305/0.008913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.058e-05/0.008923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0004932/0.009416, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001665/0.009583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001524/0.009735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.009738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.009741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.01033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.0108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.01085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.101e-05/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.437e-05/0.01104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0009092/0.01195, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex.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: 1.2003937549889088]