Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001935/0.001935, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002731/0.002731, allocations: 168.4 kB / 22.46 MB, free: 5.359 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.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.747/2.747, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.135e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006236/0.006268, allocations: 3.775 MB / 0.9546 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.009461, allocations: 1.324 MB / 0.9559 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.01022, allocations: 27.81 kB / 0.9559 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.01076, allocations: 130.7 kB / 0.9561 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.01148, allocations: 186.3 kB / 0.9562 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.01267, allocations: 431.3 kB / 0.9567 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.01416, allocations: 0.9746 MB / 0.9576 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.01483, allocations: 290.6 kB / 0.9579 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009568/0.01579, allocations: 0.495 MB / 0.9584 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.01628, allocations: 243.2 kB / 0.9586 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.01642, allocations: 88 kB / 0.9587 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.01655, allocations: 92 kB / 0.9588 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01672, allocations: 183.3 kB / 0.9589 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.01702, allocations: 247.4 kB / 0.9592 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.01823, allocations: 1.086 MB / 0.9602 GB, free: 2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.01823, allocations: 0 / 0.9602 GB, free: 2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01823, allocations: 0 / 0.9602 GB, free: 2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.01824, allocations: 4 kB / 0.9602 GB, free: 1.996 MB / 0.8575 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.001985/0.02023, allocations: 1.08 MB / 0.9613 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.02027, allocations: 8.031 kB / 0.9613 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.02043, allocations: 84.42 kB / 0.9614 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.02143, allocations: 0.4992 MB / 0.9619 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.02148, allocations: 45.69 kB / 0.9619 GB, free: 224 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.02159, allocations: 60.38 kB / 0.962 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.02282, allocations: 0.6583 MB / 0.9626 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.02285, allocations: 8.078 kB / 0.9626 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.02291, allocations: 20.38 kB / 0.9626 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.02293, allocations: 23.94 kB / 0.9627 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.02397, allocations: 453 kB / 0.9631 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.02698, allocations: 1.698 MB / 0.9648 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/0.02794, allocations: 426 kB / 0.9652 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.0284, allocations: 230.2 kB / 0.9654 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.02844, allocations: 8.5 kB / 0.9654 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/0.02902, allocations: 258.2 kB / 0.9656 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.02903, allocations: 0 / 0.9656 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.001377/0.0304, allocations: 0.5872 MB / 0.9662 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.03046, allocations: 63.84 kB / 0.9663 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.03097, allocations: 433.8 kB / 0.9667 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.03101, allocations: 29.7 kB / 0.9667 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.03128, allocations: 340.8 kB / 0.967 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.03143, allocations: 166.5 kB / 0.9672 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.03158, allocations: 98.3 kB / 0.9673 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.03176, allocations: 366.8 kB / 0.9676 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.03218, allocations: 194.9 kB / 0.9678 GB, free: 10 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.03267, allocations: 272.4 kB / 0.9681 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.03359, allocations: 455.2 kB / 0.9685 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.0336, allocations: 0 / 0.9685 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001142/0.03474, allocations: 0.598 MB / 0.9691 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.03478, allocations: 33.7 kB / 0.9691 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.03479, allocations: 0 / 0.9691 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.03482, allocations: 8 kB / 0.9691 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.03535, allocations: 111.8 kB / 0.9693 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.03536, allocations: 7.938 kB / 0.9693 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.03569, allocations: 63.89 kB / 0.9693 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.03573, allocations: 20 kB / 0.9693 GB, free: 8.355 MB / 0.8731 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.0002897/0.03602, allocations: 205.7 kB / 0.9695 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.0361, allocations: 55.67 kB / 0.9696 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.03624, allocations: 69.38 kB / 0.9697 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.03625, allocations: 4 kB / 0.9697 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.03626, allocations: 3.938 kB / 0.9697 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.03627, allocations: 7.984 kB / 0.9697 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.03804, allocations: 1 MB / 0.9706 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.03804, allocations: 0 / 0.9706 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.03854, allocations: 95.88 kB / 0.9707 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.03855, allocations: 4 kB / 0.9707 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.03858, allocations: 11.94 kB / 0.9708 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.03859, allocations: 7.984 kB / 0.9708 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03859, allocations: 0 / 0.9708 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.04003, allocations: 0.7592 MB / 0.9715 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.04021, allocations: 95.56 kB / 0.9716 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.04027, allocations: 15.94 kB / 0.9716 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.04056, allocations: 23.92 kB / 0.9716 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.04068, allocations: 40.42 kB / 0.9717 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.04071, allocations: 8 kB / 0.9717 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003492/0.04106, allocations: 303.1 kB / 0.972 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.04106, allocations: 0 / 0.972 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004748/0.04153, allocations: 143.6 kB / 0.9721 GB, free: 5.461 MB / 0.8731 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.0001457/0.04168, allocations: 113.7 kB / 0.9722 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.04269, allocations: 491.8 kB / 0.9727 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.04269, allocations: 0 / 0.9727 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.04314, allocations: 210.7 kB / 0.9729 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.04392, allocations: 150.9 kB / 0.973 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.04664, allocations: 1.258 MB / 0.9743 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.04694, allocations: 288.7 kB / 0.9745 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.04719, allocations: 64.53 kB / 0.9746 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.04731, allocations: 36.5 kB / 0.9746 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.04731, allocations: 0 / 0.9746 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of Templates: time 0.0125/0.05981, allocations: 5.778 MB / 0.9803 GB, free: 13.17 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.377190168946981]