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.001698/0.001698, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002098/0.002098, allocations: 159.7 kB / 23.01 MB, free: 4.594 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.627/2.627, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002119/0.002119, allocations: 71.89 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3148, allocations: 169.9 MB / 1.117 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005501/0.3203, allocations: 3.772 MB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3226, allocations: 1.329 MB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.3229, allocations: 27.81 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.3233, allocations: 134.7 kB / 1.123 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.3236, allocations: 182.4 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.3244, allocations: 415.3 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.3255, allocations: 0.9593 MB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.3259, allocations: 278.7 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003982/0.3263, allocations: 342.8 kB / 1.125 GB, free: 11.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.3267, allocations: 294.3 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3268, allocations: 92 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.327, allocations: 92 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3271, allocations: 183.3 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.3275, allocations: 306.6 kB / 1.126 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3287, allocations: 1.07 MB / 1.127 GB, free: 9.105 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3287, allocations: 3.938 kB / 1.127 GB, free: 9.102 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3287, allocations: 0 / 1.127 GB, free: 9.102 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3287, allocations: 0 / 1.127 GB, free: 9.102 MB / 1.076 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.002187/0.3309, allocations: 1.088 MB / 1.128 GB, free: 7.973 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3309, allocations: 12.03 kB / 1.128 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3311, allocations: 84.42 kB / 1.128 GB, free: 7.879 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3321, allocations: 0.4998 MB / 1.128 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.3322, allocations: 45.69 kB / 1.128 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.3323, allocations: 60.38 kB / 1.128 GB, free: 7.246 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.3335, allocations: 0.6581 MB / 1.129 GB, free: 6.551 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3335, allocations: 3.938 kB / 1.129 GB, free: 6.547 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.3336, allocations: 20 kB / 1.129 GB, free: 6.527 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3336, allocations: 19.94 kB / 1.129 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3346, allocations: 457 kB / 1.129 GB, free: 6.059 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.3374, allocations: 1.702 MB / 1.131 GB, free: 4.309 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/0.3383, allocations: 418.3 kB / 1.132 GB, free: 3.891 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.3388, allocations: 222.3 kB / 1.132 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.3388, allocations: 8.5 kB / 1.132 GB, free: 3.664 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.3394, allocations: 262.2 kB / 1.132 GB, free: 3.395 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.3394, allocations: 0 / 1.132 GB, free: 3.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.001358/0.3408, allocations: 0.5826 MB / 1.133 GB, free: 2.809 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3408, allocations: 59.91 kB / 1.133 GB, free: 2.738 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.3413, allocations: 438 kB / 1.133 GB, free: 2.305 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.3414, allocations: 33.7 kB / 1.133 GB, free: 2.266 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.3417, allocations: 332.8 kB / 1.133 GB, free: 1.934 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.3418, allocations: 174.5 kB / 1.134 GB, free: 1.762 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.342, allocations: 102.3 kB / 1.134 GB, free: 1.652 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3422, allocations: 362.8 kB / 1.134 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.3426, allocations: 194.9 kB / 1.134 GB, free: 1.094 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.3431, allocations: 276.4 kB / 1.134 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.344, allocations: 455.2 kB / 1.135 GB, free: 316 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.344, allocations: 4 kB / 1.135 GB, free: 312 kB / 1.076 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.5356/0.8795, allocations: 0.5827 MB / 1.135 GB, free: 57.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.8796, allocations: 34.45 kB / 1.136 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8796, allocations: 6.625 kB / 1.136 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.8796, allocations: 6.875 kB / 1.136 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.8801, allocations: 109.9 kB / 1.136 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.8801, allocations: 5.594 kB / 1.136 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.8804, allocations: 59.58 kB / 1.136 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.8804, allocations: 21.02 kB / 1.136 GB, free: 57.77 MB / 1.076 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.0002251/0.8807, allocations: 213.6 kB / 1.136 GB, free: 57.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.8807, allocations: 57.72 kB / 1.136 GB, free: 57.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.8808, allocations: 65.62 kB / 1.136 GB, free: 57.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8808, allocations: 2.875 kB / 1.136 GB, free: 57.65 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8809, allocations: 5.859 kB / 1.136 GB, free: 57.65 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8809, allocations: 3.375 kB / 1.136 GB, free: 57.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.8822, allocations: 0.9963 MB / 1.137 GB, free: 57.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8822, allocations: 0 / 1.137 GB, free: 57.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.8827, allocations: 96.7 kB / 1.137 GB, free: 57.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8827, allocations: 7.141 kB / 1.137 GB, free: 57.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.8827, allocations: 13.06 kB / 1.137 GB, free: 57.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8827, allocations: 1.562 kB / 1.137 GB, free: 57.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8827, allocations: 7.625 kB / 1.137 GB, free: 57.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.8838, allocations: 0.761 MB / 1.138 GB, free: 57.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.884, allocations: 94.28 kB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.884, allocations: 10.78 kB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.8843, allocations: 28.47 kB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.8844, allocations: 40.17 kB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.8844, allocations: 16.28 kB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000267/0.8847, allocations: 297 kB / 1.138 GB, free: 57.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8847, allocations: 0 / 1.138 GB, free: 57.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004167/0.8851, allocations: 142 kB / 1.138 GB, free: 57.14 MB / 1.076 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.0001151/0.8852, allocations: 121.7 kB / 1.139 GB, free: 57.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000802/0.886, allocations: 486.7 kB / 1.139 GB, free: 56.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.886, allocations: 3.438 kB / 1.139 GB, free: 56.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.8864, allocations: 201.7 kB / 1.139 GB, free: 56.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.8871, allocations: 156.2 kB / 1.139 GB, free: 56.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.8894, allocations: 1.348 MB / 1.141 GB, free: 56.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.8896, allocations: 293.5 kB / 1.141 GB, free: 56.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.8898, allocations: 61.58 kB / 1.141 GB, free: 56.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.8899, allocations: 49.22 kB / 1.141 GB, free: 56.01 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/0.8899, allocations: 0 / 1.141 GB, free: 56.01 MB / 1.076 GB Notification: Performance of Templates: time 0.00956/0.8995, allocations: 5.823 MB / 1.147 GB, free: 55.36 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.528665467048995]