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.001062/0.001062, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.002795, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001381/0.001381, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002762, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9873/0.9873, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09403/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.432/2.432, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2631/2.695, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.643e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002579/0.002606, allocations: 0.913 MB / 0.8193 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.00427, allocations: 1.236 MB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.004333, allocations: 0 / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.004368, allocations: 7.875 kB / 0.8205 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.004439, allocations: 31.72 kB / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.004885, allocations: 139.5 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.005116, allocations: 159.7 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.005233, allocations: 45.73 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.005418, allocations: 103.8 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.005526, allocations: 39.88 kB / 0.821 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.005555, allocations: 12 kB / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.005644, allocations: 27.97 kB / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.005672, allocations: 15.94 kB / 0.821 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.005735, allocations: 31.94 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.005953, allocations: 99.61 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.00597, allocations: 0 / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005971, allocations: 4 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.005989, allocations: 0 / 0.8211 GB, free: 15.97 MB / 0.8073 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.00065/0.006639, allocations: 381.7 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.006679, allocations: 12.62 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.006736, allocations: 24.91 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.006929, allocations: 149.5 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.006945, allocations: 12.38 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.006976, allocations: 12.38 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.007137, allocations: 84.88 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.007146, allocations: 4.188 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.007156, allocations: 4.375 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.007162, allocations: 384 / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.007202, allocations: 19.92 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.007714, allocations: 228 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.007777, allocations: 26.45 kB / 0.8221 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.0078, allocations: 12.92 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.007823, allocations: 8 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.007974, allocations: 71.36 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.007976, allocations: 0 / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001761/0.008152, allocations: 81.59 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.008191, allocations: 55.41 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.008294, allocations: 146 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.00832, allocations: 33.7 kB / 0.8225 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.008382, allocations: 108.1 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.008408, allocations: 27.8 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.008485, allocations: 49.66 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.008584, allocations: 326.8 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.008671, allocations: 49.69 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.00878, allocations: 152.7 kB / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.008936, allocations: 168.6 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.00894, allocations: 7.938 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002504/0.00919, allocations: 205.1 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.009234, allocations: 41.72 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.009242, allocations: 4 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.009257, allocations: 4 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.009368, allocations: 27.92 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.009374, allocations: 4 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.009518, allocations: 31.91 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.009538, allocations: 11.94 kB / 0.8236 GB, free: 13.16 MB / 0.8073 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 8.845e-05/0.009626, allocations: 125.7 kB / 0.8237 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.009651, allocations: 19.98 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.009755, allocations: 8.781 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.009761, allocations: 7.984 kB / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.009764, allocations: 0 / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009767, allocations: 0 / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.01011, allocations: 250.6 kB / 0.824 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01011, allocations: 0 / 0.824 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.01019, allocations: 15.92 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.0102, allocations: 7.953 kB / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.01021, allocations: 4 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.01022, allocations: 4 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01022, allocations: 3.938 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01022, allocations: 0 / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.01041, allocations: 179.4 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.01043, allocations: 8 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.0105, allocations: 0 / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.01054, allocations: 8.078 kB / 0.8242 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.01055, allocations: 4 kB / 0.8242 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.01058, allocations: 36.77 kB / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01058, allocations: 0 / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002851/0.01087, allocations: 31.94 kB / 0.8243 GB, free: 12.39 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0001627/0.01103, allocations: 100.3 kB / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.01125, allocations: 176.5 kB / 0.8246 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.01126, allocations: 4 kB / 0.8246 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.232e-05/0.0113, allocations: 20.84 kB / 0.8246 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01154, allocations: 37.42 kB / 0.8246 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/0.01229, allocations: 243 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.099e-05/0.01235, allocations: 63.84 kB / 0.8249 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.592e-05/0.01242, allocations: 16.64 kB / 0.8249 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.01254, allocations: 79.36 kB / 0.825 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of SimCode: time 1.052e-06/0.01254, allocations: 0 / 0.825 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.005138/0.01768, allocations: 1.897 MB / 0.8269 GB, free: 9.73 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.ref.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: 5.292719887569547]