Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 200.7 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 63.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8646, allocations: 168.7 MB / 1.274 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003547/0.8682, allocations: 1.843 MB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.8694, allocations: 0.5353 MB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.8695, allocations: 7.938 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.8697, allocations: 31.66 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.8698, allocations: 27.73 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.8701, allocations: 67.84 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.8704, allocations: 171.5 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.8705, allocations: 45.59 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.8706, allocations: 51.73 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.8707, allocations: 67.62 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.8708, allocations: 12 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.8708, allocations: 8 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.8708, allocations: 39.78 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.8709, allocations: 55.61 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.8711, allocations: 141.9 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8711, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.92e-07/0.8711, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.8712, allocations: 4 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008928/0.872, allocations: 0.4925 MB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.8721, allocations: 8.031 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.691e-05/0.8722, allocations: 20.83 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.8725, allocations: 236.5 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.8726, allocations: 12.38 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.8726, allocations: 16.31 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.8729, allocations: 151.2 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.8729, allocations: 4 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.873, allocations: 4 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.873, allocations: 4 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.8732, allocations: 71.88 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.8743, allocations: 0.7434 MB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.8745, allocations: 42.56 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.8746, allocations: 28.83 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.8746, allocations: 7.938 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.8749, allocations: 130.7 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.8749, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005246/0.8754, allocations: 161.6 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.8755, allocations: 132.7 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.8757, allocations: 207 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.8758, allocations: 29.7 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.8759, allocations: 128 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.8759, allocations: 39.73 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.876, allocations: 41.66 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8762, allocations: 326.8 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.8763, allocations: 44.03 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.8765, allocations: 144.8 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.8769, allocations: 206.3 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.8769, allocations: 0 / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000459/0.8773, allocations: 209.5 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8774, allocations: 9.562 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8774, allocations: 4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.8774, allocations: 4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.8775, allocations: 31.92 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.8775, allocations: 8 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.8777, allocations: 31.86 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.8777, allocations: 12.12 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001503/0.8779, allocations: 144.1 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.8779, allocations: 23.86 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.878, allocations: 21.39 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.878, allocations: 0 / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.878, allocations: 4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.878, allocations: 4.172 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.8788, allocations: 0.521 MB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8788, allocations: 4 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.879, allocations: 11.98 kB / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.879, allocations: 4 kB / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.879, allocations: 4 kB / 1.281 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.879, allocations: 4 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.879, allocations: 3.938 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.8796, allocations: 352.3 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.8796, allocations: 101 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.8797, allocations: 0 / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.8798, allocations: 19.98 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.8799, allocations: 15.92 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.8799, allocations: 8.062 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001335/0.88, allocations: 143 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.88, allocations: 3.938 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003511/0.8804, allocations: 31.95 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001644/0.8806, allocations: 110.7 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.8809, allocations: 111.8 kB / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8809, allocations: 0 / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.8811, allocations: 48.91 kB / 1.282 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.8816, allocations: 72.52 kB / 1.282 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.8824, allocations: 363.8 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.8829, allocations: 0.7242 MB / 1.283 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.672e-05/0.8829, allocations: 17.55 kB / 1.283 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.883, allocations: 19.44 kB / 1.283 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.883, allocations: 0 / 1.283 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Templates: time 0.006191/0.8892, allocations: 2.074 MB / 1.285 GB, free: 8.184 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegratorWithReset.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: 8.875770736951381]