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.001679/0.001679, 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.002094/0.002094, 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.261/3.261, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.001992/0.001992, allocations: 74.5 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4054, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006389/0.4118, allocations: 4.19 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.4151, allocations: 1.371 MB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.4157, allocations: 27.81 kB / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.4161, allocations: 130.7 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.4165, allocations: 182.4 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4176, allocations: 433.6 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.4188, allocations: 0.9554 MB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.4194, allocations: 310.6 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.4198, allocations: 342.7 kB / 1.335 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.4203, allocations: 338.3 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4204, allocations: 92 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4205, allocations: 92 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.4207, allocations: 175.5 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.421, allocations: 394 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4223, allocations: 1.058 MB / 1.337 GB, free: 7.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4223, allocations: 4 kB / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4223, allocations: 0 / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4223, allocations: 0 / 1.337 GB, free: 7.383 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.00217/0.4245, allocations: 1.084 MB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4245, allocations: 8.031 kB / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4247, allocations: 92.41 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.4257, allocations: 0.4999 MB / 1.339 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.4257, allocations: 41.69 kB / 1.339 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4258, allocations: 60.38 kB / 1.339 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.427, allocations: 0.6156 MB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.427, allocations: 0 / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.4271, allocations: 20 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.4271, allocations: 16 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.4281, allocations: 461 kB / 1.34 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.4313, allocations: 1.951 MB / 1.342 GB, free: 2.387 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.4323, allocations: 434.4 kB / 1.342 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.4328, allocations: 226.5 kB / 1.342 GB, free: 1.727 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.4328, allocations: 8.422 kB / 1.342 GB, free: 1.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.4334, allocations: 265.3 kB / 1.343 GB, free: 1.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 3.487e-06/0.4334, allocations: 0 / 1.343 GB, free: 1.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001416/0.4348, allocations: 0.5807 MB / 1.343 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.4349, allocations: 59.83 kB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.4355, allocations: 450 kB / 1.344 GB, free: 348 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.4355, allocations: 37.7 kB / 1.344 GB, free: 304 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.4359, allocations: 341 kB / 1.344 GB, free: 15.95 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.4361, allocations: 166.5 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.4363, allocations: 98.33 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4365, allocations: 362.8 kB / 1.345 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.4369, allocations: 157.2 kB / 1.345 GB, free: 15.17 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.4373, allocations: 258.6 kB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.4382, allocations: 451 kB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4382, allocations: 4 kB / 1.345 GB, free: 14.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00114/0.4394, allocations: 0.5651 MB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.4394, allocations: 35.05 kB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4394, allocations: 8 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.4394, allocations: 4.25 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.44, allocations: 111.9 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.44, allocations: 11.94 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.4403, allocations: 59.59 kB / 1.346 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.4404, allocations: 20 kB / 1.346 GB, free: 13.59 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.0002928/0.4407, allocations: 201.8 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.4407, allocations: 63.55 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.4409, allocations: 69.58 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4409, allocations: 4 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4409, allocations: 0 / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4409, allocations: 3.984 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4429, allocations: 1.15 MB / 1.348 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4429, allocations: 4 kB / 1.348 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.4434, allocations: 91.89 kB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4434, allocations: 11.92 kB / 1.348 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.4434, allocations: 12 kB / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.4434, allocations: 0 / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4434, allocations: 0 / 1.348 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4449, allocations: 0.7613 MB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.4451, allocations: 91.58 kB / 1.349 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.4452, allocations: 12 kB / 1.349 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.4455, allocations: 23.97 kB / 1.349 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4456, allocations: 36.38 kB / 1.349 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.4456, allocations: 15.98 kB / 1.349 GB, free: 10.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003742/0.446, allocations: 310.9 kB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.446, allocations: 0 / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004921/0.4465, allocations: 143.6 kB / 1.349 GB, free: 10.53 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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 0.0001573/0.4466, allocations: 123 kB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.4477, allocations: 457 kB / 1.35 GB, free: 9.945 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4477, allocations: 0 / 1.35 GB, free: 9.945 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.4481, allocations: 206.3 kB / 1.35 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.4489, allocations: 154.5 kB / 1.35 GB, free: 9.598 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.4519, allocations: 1.394 MB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.4525, allocations: 0.89 MB / 1.352 GB, free: 7.242 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4527, allocations: 43.42 kB / 1.352 GB, free: 7.199 MB / 1.045 GB Notification: Performance of SimCode: time 1.272e-06/0.4527, allocations: 0 / 1.352 GB, free: 7.199 MB / 1.045 GB Notification: Performance of Templates: time 0.01349/0.4662, allocations: 7.68 MB / 1.36 GB, free: 15.55 MB / 1.061 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: 12.453624875983223]