Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001113/0.001113, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002634, allocations: 440 kB / 10.41 MB, free: 284 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.001075/0.001075, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002447, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9383/0.9383, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08815/1.026, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.28/2.28, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2517/2.532, allocations: 146 MB / 0.8176 GB, free: 3.855 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.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8189 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.009e-05, allocations: 8.984 kB / 0.8189 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005023/0.005043, allocations: 4.013 MB / 0.8228 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.007791, allocations: 1.413 MB / 0.8242 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.008209, allocations: 31.75 kB / 0.8242 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.0085, allocations: 130.6 kB / 0.8244 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.008882, allocations: 194.2 kB / 0.8245 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.009637, allocations: 411.4 kB / 0.8249 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.0107, allocations: 0.9628 MB / 0.8259 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004897/0.01119, allocations: 302.5 kB / 0.8262 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.01191, allocations: 0.5586 MB / 0.8267 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.01223, allocations: 231.2 kB / 0.8269 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.01235, allocations: 88 kB / 0.827 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.01246, allocations: 92 kB / 0.8271 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01258, allocations: 139.5 kB / 0.8272 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.01278, allocations: 203.6 kB / 0.8274 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.01341, allocations: 0.5292 MB / 0.8279 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-05/0.01342, allocations: 0 / 0.8279 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01342, allocations: 0 / 0.8279 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.01345, allocations: 0 / 0.8279 GB, free: 9.223 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001242/0.01469, allocations: 1.116 MB / 0.829 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.01472, allocations: 12.03 kB / 0.829 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.01484, allocations: 104.8 kB / 0.8291 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.01531, allocations: 413.3 kB / 0.8295 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.01534, allocations: 45.69 kB / 0.8296 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.0154, allocations: 64.31 kB / 0.8296 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.01584, allocations: 498 kB / 0.8301 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.01585, allocations: 4.188 kB / 0.8301 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.01588, allocations: 20.38 kB / 0.8301 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.01589, allocations: 19.94 kB / 0.8302 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.01609, allocations: 162.3 kB / 0.8303 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.01746, allocations: 1.302 MB / 0.8316 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.01774, allocations: 230.8 kB / 0.8318 GB, free: 5.113 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.01784, allocations: 99.11 kB / 0.8319 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.01787, allocations: 16.48 kB / 0.8319 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.01804, allocations: 158.2 kB / 0.8321 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.01804, allocations: 0 / 0.8321 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=49): time 0.0003094/0.01835, allocations: 262 kB / 0.8323 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.01838, allocations: 55.91 kB / 0.8324 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.01859, allocations: 383.2 kB / 0.8327 GB, free: 4.121 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.01862, allocations: 37.7 kB / 0.8328 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.01874, allocations: 274 kB / 0.833 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.01883, allocations: 174.5 kB / 0.8332 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.01891, allocations: 98.28 kB / 0.8333 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.01901, allocations: 370.6 kB / 0.8336 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.0191, allocations: 78.98 kB / 0.8337 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01921, allocations: 168.3 kB / 0.8339 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.01941, allocations: 263.1 kB / 0.8341 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01941, allocations: 4 kB / 0.8341 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002779/0.01969, allocations: 317.8 kB / 0.8344 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.01972, allocations: 33.7 kB / 0.8345 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01973, allocations: 4.25 kB / 0.8345 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.01974, allocations: 8 kB / 0.8345 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.02005, allocations: 147.7 kB / 0.8346 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.02006, allocations: 4 kB / 0.8346 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.02018, allocations: 59.61 kB / 0.8347 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.0202, allocations: 15.98 kB / 0.8347 GB, free: 1.98 MB / 0.8073 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 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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.0001125/0.02031, allocations: 137.7 kB / 0.8348 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.02036, allocations: 55.94 kB / 0.8349 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.02042, allocations: 69.44 kB / 0.835 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.02043, allocations: 4 kB / 0.835 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.02043, allocations: 3.938 kB / 0.835 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.02044, allocations: 0 / 0.835 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.02101, allocations: 0.5836 MB / 0.8355 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02101, allocations: 0 / 0.8355 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.02127, allocations: 118.8 kB / 0.8356 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.02136, allocations: 59.53 kB / 0.8357 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02136, allocations: 4 kB / 0.8357 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.02138, allocations: 12 kB / 0.8357 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02138, allocations: 7.984 kB / 0.8357 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02138, allocations: 3.984 kB / 0.8357 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.02174, allocations: 402.7 kB / 0.8361 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.02177, allocations: 12 kB / 0.8361 GB, free: 492 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.02188, allocations: 23.97 kB / 0.8361 GB, free: 468 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.02194, allocations: 32.44 kB / 0.8362 GB, free: 436 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.02195, allocations: 12 kB / 0.8362 GB, free: 424 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001112/0.02206, allocations: 164.7 kB / 0.8363 GB, free: 260 kB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02206, allocations: 0 / 0.8363 GB, free: 260 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002343/0.02229, allocations: 147.6 kB / 0.8365 GB, free: 112 kB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.596e-05/0.02239, allocations: 93.3 kB / 0.8366 GB, free: 12 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.02268, allocations: 310.4 kB / 0.8369 GB, free: 15.69 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.02269, allocations: 12.28 kB / 0.8369 GB, free: 15.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.02284, allocations: 141.7 kB / 0.837 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.02352, allocations: 1.171 MB / 0.8382 GB, free: 14.15 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.02726, allocations: 1.142 MB / 0.8393 GB, free: 12.97 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.359e-05/0.02734, allocations: 137.9 kB / 0.8394 GB, free: 12.81 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.0275, allocations: 64.55 kB / 0.8395 GB, free: 12.75 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.02772, allocations: 161.2 kB / 0.8396 GB, free: 12.59 MB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.02772, allocations: 0 / 0.8396 GB, free: 12.59 MB / 0.823 GB Notification: Performance of Templates: time 0.008864/0.03659, allocations: 6.524 MB / 0.846 GB, free: 6.223 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.075524903833866]