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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 185.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 496 MB / 0.7835 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 76.67 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006087/0.3579, allocations: 4.184 MB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3605, allocations: 1.333 MB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.3608, allocations: 31.75 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.3612, allocations: 130.7 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.3615, allocations: 182.4 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3624, allocations: 428.1 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.3634, allocations: 0.9592 MB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.3639, allocations: 322.6 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.3643, allocations: 334.8 kB / 1.315 GB, free: 9.871 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.3648, allocations: 338.3 kB / 1.315 GB, free: 9.539 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3649, allocations: 92 kB / 1.315 GB, free: 9.449 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.365, allocations: 88 kB / 1.315 GB, free: 9.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3652, allocations: 179.4 kB / 1.316 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.3656, allocations: 398 kB / 1.316 GB, free: 8.797 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.3667, allocations: 1.058 MB / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3667, allocations: 0 / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3667, allocations: 0 / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.3667, allocations: 4 kB / 1.317 GB, free: 7.73 MB / 1.014 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.002038/0.3688, allocations: 1.08 MB / 1.318 GB, free: 6.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3688, allocations: 8.922 kB / 1.318 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.369, allocations: 92.38 kB / 1.318 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.37, allocations: 0.5038 MB / 1.319 GB, free: 5.984 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.37, allocations: 41.69 kB / 1.319 GB, free: 5.945 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3701, allocations: 64.33 kB / 1.319 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3713, allocations: 0.6117 MB / 1.319 GB, free: 5.246 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.3713, allocations: 4 kB / 1.319 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.3714, allocations: 20 kB / 1.319 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.3714, allocations: 16 kB / 1.319 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3724, allocations: 465 kB / 1.32 GB, free: 4.754 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.3755, allocations: 1.939 MB / 1.322 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3765, allocations: 425.7 kB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.377, allocations: 222.9 kB / 1.322 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.377, allocations: 4.438 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.3776, allocations: 265.3 kB / 1.323 GB, free: 1.824 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.3776, allocations: 0 / 1.323 GB, free: 1.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001399/0.379, allocations: 0.5807 MB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3791, allocations: 59.84 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.3796, allocations: 453.9 kB / 1.324 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.3797, allocations: 33.7 kB / 1.324 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.3799, allocations: 324.9 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.3801, allocations: 174.5 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.3803, allocations: 98.3 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.3805, allocations: 366.8 kB / 1.325 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.3809, allocations: 165.2 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.3814, allocations: 250.6 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.3822, allocations: 455 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3822, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001149/0.3834, allocations: 0.5576 MB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.3834, allocations: 41.62 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3834, allocations: 4 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.3835, allocations: 7.938 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.384, allocations: 111.9 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.384, allocations: 11.94 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.3844, allocations: 51.66 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.3844, allocations: 23.98 kB / 1.326 GB, free: 13.97 MB / 1.029 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.0003362/0.3848, allocations: 215.3 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.3848, allocations: 59.56 kB / 1.327 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.385, allocations: 69.58 kB / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.385, allocations: 4 kB / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.385, allocations: 0 / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.385, allocations: 0 / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.387, allocations: 1.15 MB / 1.328 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.387, allocations: 0 / 1.328 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.3875, allocations: 99.81 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3875, allocations: 4 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.3875, allocations: 12 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3875, allocations: 0 / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3875, allocations: 0 / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.389, allocations: 0.7613 MB / 1.329 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.3892, allocations: 95.56 kB / 1.329 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.3893, allocations: 12 kB / 1.329 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3896, allocations: 23.97 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3897, allocations: 44.36 kB / 1.329 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.3897, allocations: 12 kB / 1.329 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003878/0.3901, allocations: 306.9 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3901, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005161/0.3906, allocations: 147.6 kB / 1.329 GB, free: 10.9 MB / 1.029 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.0001866/0.3908, allocations: 121.9 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.3919, allocations: 456.7 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3919, allocations: 0 / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.3924, allocations: 210.3 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.3932, allocations: 153.2 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.3962, allocations: 1.361 MB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.3968, allocations: 0.89 MB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.3971, allocations: 72.52 kB / 1.332 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3972, allocations: 39.44 kB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3972, allocations: 0 / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of Templates: time 0.014/0.4112, allocations: 6.309 MB / 1.339 GB, free: 1.328 MB / 1.029 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/jenkins/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.219680738635361]