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.001907/0.001907, 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.002351/0.002351, 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.503/1.503, 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 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.779/2.779, allocations: 476 MB / 0.7707 GB, free: 4.719 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.002837/0.002837, allocations: 65.27 kB / 1.118 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3854, allocations: 169.9 MB / 1.284 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.003099/0.3885, allocations: 0.8657 MB / 1.285 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3907, allocations: 1.191 MB / 1.286 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3908, allocations: 4 kB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.3909, allocations: 11.86 kB / 1.286 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.391, allocations: 15.81 kB / 1.286 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.3917, allocations: 147.7 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.392, allocations: 167.6 kB / 1.286 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3922, allocations: 33.28 kB / 1.286 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.3924, allocations: 63.84 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3925, allocations: 63.72 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.3926, allocations: 16 kB / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.3927, allocations: 27.98 kB / 1.286 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.3927, allocations: 23.92 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3928, allocations: 59.77 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.3931, allocations: 163.4 kB / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.3932, allocations: 3.984 kB / 1.287 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3932, allocations: 0 / 1.287 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3932, allocations: 3.938 kB / 1.287 GB, free: 0.8008 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.0009821/0.3942, allocations: 418 kB / 1.287 GB, free: 352 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.3942, allocations: 8.031 kB / 1.287 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.3943, allocations: 16.89 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.395, allocations: 196.1 kB / 1.287 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.395, allocations: 8.375 kB / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.395, allocations: 12.38 kB / 1.287 GB, free: 88 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.3953, allocations: 93.38 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3953, allocations: 3.938 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3954, allocations: 4 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3954, allocations: 8 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3955, allocations: 43.95 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.3963, allocations: 312.2 kB / 1.288 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3965, allocations: 34.56 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.3966, allocations: 24.95 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3966, allocations: 4 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003279/0.3969, allocations: 107.2 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.3969, allocations: 0 / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004791/0.3974, allocations: 133.5 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3974, allocations: 55.39 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3977, allocations: 147.8 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.3977, allocations: 29.7 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3978, allocations: 116.1 kB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.3978, allocations: 31.8 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.3979, allocations: 41.7 kB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3981, allocations: 326.8 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3983, allocations: 77.66 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.3986, allocations: 163.2 kB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.3989, allocations: 196.7 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3989, allocations: 4 kB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005582/0.3995, allocations: 276.6 kB / 1.289 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.3995, allocations: 37.69 kB / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3996, allocations: 0 / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3996, allocations: 4.375 kB / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3997, allocations: 31.92 kB / 1.289 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3997, allocations: 7.938 kB / 1.289 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.3999, allocations: 47.78 kB / 1.289 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.3999, allocations: 12 kB / 1.29 GB, free: 13.53 MB / 0.9981 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.0001483/0.4001, allocations: 133.7 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.4001, allocations: 7.953 kB / 1.29 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.4002, allocations: 16.72 kB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.4002, allocations: 8.031 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4002, allocations: 4 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4002, allocations: 3.938 kB / 1.29 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.4008, allocations: 334.4 kB / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4008, allocations: 0 / 1.29 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.4009, allocations: 16.08 kB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4009, allocations: 7.938 kB / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4009, allocations: 0 / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4009, allocations: 7.938 kB / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4009, allocations: 0 / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.4014, allocations: 236.9 kB / 1.29 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.4014, allocations: 15.91 kB / 1.29 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4014, allocations: 4 kB / 1.29 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.4015, allocations: 11.97 kB / 1.29 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4016, allocations: 7.984 kB / 1.29 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4016, allocations: 7.938 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.35e-05/0.4016, allocations: 111.2 kB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4016, allocations: 0 / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003052/0.4019, allocations: 31.94 kB / 1.29 GB, free: 12.52 MB / 0.9981 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.0001812/0.4021, allocations: 103.2 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.4026, allocations: 197.5 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4026, allocations: 4.125 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4027, allocations: 35.91 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.403, allocations: 22.22 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.4037, allocations: 298.8 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.4038, allocations: 93.62 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.4038, allocations: 19.38 kB / 1.291 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4038, allocations: 0 / 1.291 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of Templates: time 0.004105/0.4079, allocations: 1.776 MB / 1.293 GB, free: 9.926 MB / 0.9981 GB " [Timeout remaining time 300] 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.261537488084286]