Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.00163/0.00163, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001983/0.001983, allocations: 207.1 kB / 23 MB, free: 4.977 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [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.002072/0.002072, allocations: 62.14 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006633/0.3929, allocations: 3.766 MB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.3961, allocations: 1.325 MB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004794/0.3966, allocations: 27.81 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.397, allocations: 130.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.3974, allocations: 178.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.3983, allocations: 429.9 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.3996, allocations: 0.9631 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005888/0.4001, allocations: 306.6 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.4006, allocations: 338.8 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.401, allocations: 338.3 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4011, allocations: 92 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.4012, allocations: 92 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.4014, allocations: 183.3 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.4017, allocations: 302.5 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.403, allocations: 1.074 MB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.403, allocations: 4 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.694e-06/0.403, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.403, allocations: 4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002249/0.4053, allocations: 1.076 MB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4053, allocations: 8.031 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.4055, allocations: 88.42 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.4065, allocations: 0.5038 MB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.4066, allocations: 45.69 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.4067, allocations: 56.38 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.4081, allocations: 0.6658 MB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4081, allocations: 7.938 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.4081, allocations: 28 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4082, allocations: 12 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4092, allocations: 453 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.4123, allocations: 1.694 MB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4134, allocations: 429.9 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.4139, allocations: 234.6 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.4139, allocations: 4.438 kB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/0.4145, allocations: 257.3 kB / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.895e-06/0.4145, allocations: 0 / 1.342 GB, free: 1.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001587/0.4161, allocations: 0.5924 MB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.4162, allocations: 55.84 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.4167, allocations: 434.5 kB / 1.343 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.4168, allocations: 29.7 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.4171, allocations: 340.8 kB / 1.343 GB, free: 264 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.4172, allocations: 178.5 kB / 1.343 GB, free: 84 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.4174, allocations: 98.3 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.4176, allocations: 366.8 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.418, allocations: 194.9 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.4185, allocations: 272.4 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.4195, allocations: 455 kB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4195, allocations: 0 / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001257/0.4208, allocations: 0.5903 MB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.4208, allocations: 33.7 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4208, allocations: 4 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.4208, allocations: 7.938 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.4214, allocations: 111.8 kB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.4214, allocations: 4.25 kB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.4217, allocations: 67.59 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.4218, allocations: 20 kB / 1.345 GB, free: 13.78 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003008/0.4221, allocations: 209.7 kB / 1.346 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.4222, allocations: 55.61 kB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.4223, allocations: 69.38 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4223, allocations: 3.984 kB / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4223, allocations: 0 / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.4225, allocations: 103.5 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.4226, allocations: 8 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4228, allocations: 23.98 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.423, allocations: 36.36 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001481/0.4245, allocations: 0.5504 MB / 1.346 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001557/0.426, allocations: 0.8531 MB / 1.347 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004159/0.4265, allocations: 187.5 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004119/0.4269, allocations: 295.1 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of Backend: time 9.42e-07/0.4269, allocations: 4 kB / 1.348 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4281, allocations: 424 kB / 1.348 GB, free: 10.93 MB / 1.045 GB Notification: Performance of SimCode: time 0.002638/0.4307, allocations: 1.701 MB / 1.35 GB, free: 9.18 MB / 1.045 GB Notification: Performance of Templates: time 0.01558/0.4463, allocations: 8.149 MB / 1.358 GB, free: 1.176 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.564849602997128]