Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.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.001412/0.001412, allocations: 114.8 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.00193/0.00193, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.93/2.93, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.89 kB / 1.109 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9549/0.9569, allocations: 168.7 MB / 1.274 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002526/0.9594, allocations: 0.8872 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.9614, allocations: 1.176 MB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.9615, allocations: 4 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.951e-05/0.9616, allocations: 7.875 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.9617, allocations: 19.78 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.9626, allocations: 162.8 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.9629, allocations: 167.6 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.963, allocations: 25.11 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.9632, allocations: 75.75 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.9634, allocations: 63.73 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.9634, allocations: 16 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.9635, allocations: 27.98 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.9636, allocations: 27.91 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.9637, allocations: 63.72 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.964, allocations: 177.9 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.964, allocations: 0 / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.444e-06/0.964, allocations: 4 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.964, allocations: 0 / 1.277 GB, free: 1.582 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001017/0.9651, allocations: 497.5 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9651, allocations: 8.031 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.9652, allocations: 16.84 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.9659, allocations: 256.3 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.9659, allocations: 4.375 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.966, allocations: 20.33 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.9663, allocations: 89.95 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9663, allocations: 0 / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.9663, allocations: 4 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.9663, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.9665, allocations: 51.95 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000862/0.9674, allocations: 384.5 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.9675, allocations: 38.55 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.9676, allocations: 20.84 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.9676, allocations: 4.125 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.9679, allocations: 103.2 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.9679, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004746/0.9684, allocations: 133.5 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.9685, allocations: 59.72 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.9686, allocations: 144 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.9687, allocations: 33.69 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.9688, allocations: 112.2 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.9688, allocations: 31.73 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.9689, allocations: 49.69 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.969, allocations: 318.8 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.9692, allocations: 51.97 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.9694, allocations: 131.5 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.9698, allocations: 216.6 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9698, allocations: 3.938 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005577/0.9704, allocations: 247 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.9704, allocations: 37.7 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9704, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.9705, allocations: 4 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.9706, allocations: 31.84 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.9706, allocations: 4.375 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.9708, allocations: 39.92 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.9709, allocations: 15.98 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001584/0.971, allocations: 129.7 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.9711, allocations: 11.95 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.9711, allocations: 12.7 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9711, allocations: 3.938 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.9711, allocations: 8 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9711, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/0.9718, allocations: 390.5 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9718, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.9719, allocations: 15.92 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.9719, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.9719, allocations: 4 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.9719, allocations: 7.922 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9719, allocations: 4 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.9724, allocations: 243.5 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.9725, allocations: 89.09 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.9725, allocations: 7.969 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.9726, allocations: 12 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.9727, allocations: 11.98 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.9727, allocations: 4 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.32e-05/0.9728, allocations: 107.2 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9728, allocations: 0 / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003099/0.9731, allocations: 35.89 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002298/0.9733, allocations: 115.7 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.9737, allocations: 171.3 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9737, allocations: 3.938 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.9739, allocations: 31.97 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.9742, allocations: 23.92 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.9749, allocations: 285 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.9753, allocations: 0.7045 MB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.184e-05/0.9754, allocations: 16.64 kB / 1.282 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.9754, allocations: 15.44 kB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/0.9754, allocations: 0 / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Templates: time 0.005723/0.9811, allocations: 1.666 MB / 1.284 GB, free: 9.906 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.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: 9.272848500870168]