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.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.001318/0.001318, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00158/0.00158, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.74/2.74, allocations: 476.7 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: 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: 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.002007/0.002007, allocations: 70.19 kB / 1.119 GB, free: 40.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002291/0.3682, allocations: 0.8896 MB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3699, allocations: 1.211 MB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.37, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.37, allocations: 15.8 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.3701, allocations: 11.88 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.3707, allocations: 159 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3709, allocations: 175.5 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.371, allocations: 29.28 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3712, allocations: 67.83 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3713, allocations: 67.73 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.3713, allocations: 16 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.3714, allocations: 31.98 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.3714, allocations: 19.92 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3715, allocations: 67.77 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3718, allocations: 175.2 kB / 1.288 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3718, allocations: 4 kB / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3718, allocations: 0 / 1.288 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3718, allocations: 0 / 1.288 GB, free: 8.238 MB / 0.9825 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.000771/0.3726, allocations: 418 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3726, allocations: 8.031 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.3727, allocations: 12.89 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3732, allocations: 202.4 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3732, allocations: 4.375 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.3733, allocations: 12.38 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3735, allocations: 94.14 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3735, allocations: 3.938 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3735, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3735, allocations: 8 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.3737, allocations: 47.95 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/0.3744, allocations: 355.6 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3746, allocations: 38.55 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.3747, allocations: 24.97 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3747, allocations: 4 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.3749, allocations: 99.27 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3749, allocations: 0 / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004414/0.3754, allocations: 141.4 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.3754, allocations: 63.34 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3755, allocations: 139.9 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3756, allocations: 29.7 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.3757, allocations: 112.1 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3757, allocations: 27.8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.3758, allocations: 49.69 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3759, allocations: 323.2 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3761, allocations: 47.97 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.3763, allocations: 133.3 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.3766, allocations: 200.6 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3766, allocations: 7.938 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004963/0.3771, allocations: 242.9 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.3772, allocations: 37.7 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3772, allocations: 4 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3772, allocations: 4 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3773, allocations: 27.97 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3773, allocations: 12.25 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3775, allocations: 39.86 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.3776, allocations: 19.98 kB / 1.29 GB, free: 5.008 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.0001201/0.3777, allocations: 121.8 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.3777, allocations: 7.953 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.3777, allocations: 16.66 kB / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3777, allocations: 3.984 kB / 1.291 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3777, allocations: 7.938 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3777, allocations: 0 / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.3783, allocations: 369.4 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3783, allocations: 0 / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.3784, allocations: 15.98 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.3784, allocations: 11.97 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3784, allocations: 0 / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3784, allocations: 8 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3784, allocations: 0 / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.3789, allocations: 243.3 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.3789, allocations: 7.891 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3789, allocations: 4 kB / 1.291 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.379, allocations: 19.97 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.379, allocations: 3.984 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.379, allocations: 4 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.3791, allocations: 109.5 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 0 / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002824/0.3794, allocations: 31.94 kB / 1.291 GB, free: 3.969 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.0001731/0.3796, allocations: 118.6 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.38, allocations: 167.2 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.38, allocations: 0 / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3801, allocations: 39.91 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3804, allocations: 16.73 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.381, allocations: 298.5 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3813, allocations: 0.7045 MB / 1.293 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.3814, allocations: 15.44 kB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3814, allocations: 0 / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of Templates: time 0.003977/0.3853, allocations: 1.744 MB / 1.294 GB, free: 0.8164 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 -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/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: 11.323901055002352]