Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.00137/0.00137, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001473/0.001473, allocations: 213.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.251/3.251, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 72.84 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.401, allocations: 181.9 MB / 1.365 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.003537/0.4045, allocations: 0.8622 MB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.4077, allocations: 1.183 MB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.4078, allocations: 4 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.4e-05/0.4078, allocations: 7.875 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.4079, allocations: 15.81 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.409, allocations: 154.2 kB / 1.367 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.4093, allocations: 163.7 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.4095, allocations: 33.22 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.4097, allocations: 67.83 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.4099, allocations: 55.73 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.41, allocations: 16 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.4101, allocations: 27.98 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.4101, allocations: 31.92 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.4103, allocations: 55.77 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.4107, allocations: 171.3 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4107, allocations: 0 / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4107, allocations: 0 / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4107, allocations: 4 kB / 1.367 GB, free: 10.65 MB / 1.061 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.001185/0.4119, allocations: 410.1 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4119, allocations: 12.03 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.412, allocations: 16.84 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.4129, allocations: 190.5 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4129, allocations: 16.36 kB / 1.368 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.413, allocations: 12.33 kB / 1.368 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.4133, allocations: 90.14 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4134, allocations: 7.938 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.4134, allocations: 4 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4134, allocations: 0 / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.4137, allocations: 47.95 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.4148, allocations: 304.2 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.4151, allocations: 38.56 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.4153, allocations: 24.97 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4153, allocations: 0 / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.4157, allocations: 111.2 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.4157, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0008366/0.4166, allocations: 129.8 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.4167, allocations: 59.41 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4169, allocations: 148.8 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.4169, allocations: 33.8 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4171, allocations: 112.1 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.4171, allocations: 31.75 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4173, allocations: 45.69 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.4175, allocations: 322.8 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.4179, allocations: 81.66 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.4183, allocations: 162.5 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.4189, allocations: 204.6 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.419, allocations: 0 / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001038/0.42, allocations: 280.6 kB / 1.37 GB, free: 7.516 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.4201, allocations: 33.7 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4201, allocations: 4 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.4201, allocations: 4 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.4203, allocations: 24.34 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.4203, allocations: 15.92 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.4208, allocations: 47.86 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.4208, allocations: 11.98 kB / 1.37 GB, free: 7.371 MB / 1.061 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.0002048/0.421, allocations: 130.9 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.421, allocations: 11.89 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.4211, allocations: 16.7 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4211, allocations: 0 / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4211, allocations: 4 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4211, allocations: 7.969 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.4221, allocations: 330.1 kB / 1.371 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4221, allocations: 3.984 kB / 1.371 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4223, allocations: 12 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4223, allocations: 0 / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4223, allocations: 7.984 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.4223, allocations: 7.938 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4223, allocations: 0 / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.4232, allocations: 242.2 kB / 1.371 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.4232, allocations: 11.98 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.4232, allocations: 4 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4234, allocations: 7.938 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.4235, allocations: 7.984 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.4235, allocations: 11.98 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001447/0.4237, allocations: 109.1 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4237, allocations: 4 kB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005679/0.4242, allocations: 31.88 kB / 1.371 GB, free: 6.367 MB / 1.061 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.000235/0.4245, allocations: 107.2 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007473/0.4252, allocations: 196.9 kB / 1.372 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4252, allocations: 0.75 kB / 1.372 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4254, allocations: 43.91 kB / 1.372 GB, free: 6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.4257, allocations: 15.98 kB / 1.372 GB, free: 5.984 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.4264, allocations: 294.6 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.649e-05/0.4264, allocations: 93.61 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.4265, allocations: 19.44 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4265, allocations: 0 / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of Templates: time 0.004326/0.4308, allocations: 1.78 MB / 1.374 GB, free: 3.766 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.50329845584929]