Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.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.002016/0.002016, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002195/0.002195, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.751/2.751, allocations: 359.1 MB / 0.6044 GB, free: 14.88 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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|limPIDRev.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.LimPID") [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.002126/0.002126, allocations: 75.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 169.9 MB / 1.117 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005032/0.3227, allocations: 3.375 MB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3256, allocations: 1.321 MB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.326, allocations: 35.75 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.3263, allocations: 126.6 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.3269, allocations: 192.9 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3281, allocations: 0.5748 MB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.3292, allocations: 0.9565 MB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.3297, allocations: 234.3 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.3302, allocations: 378.4 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.3306, allocations: 326.1 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.3307, allocations: 80 kB / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3308, allocations: 80 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.331, allocations: 183.3 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.3313, allocations: 298.2 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009719/0.3323, allocations: 0.9177 MB / 1.126 GB, free: 9.531 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3323, allocations: 0 / 1.126 GB, free: 9.531 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3323, allocations: 0 / 1.126 GB, free: 9.531 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.3323, allocations: 0 / 1.126 GB, free: 9.531 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002152/0.3344, allocations: 1.131 MB / 1.127 GB, free: 8.363 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3345, allocations: 12.03 kB / 1.127 GB, free: 8.352 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.3346, allocations: 96.33 kB / 1.127 GB, free: 8.258 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3357, allocations: 0.5623 MB / 1.128 GB, free: 7.664 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.3359, allocations: 148.4 kB / 1.128 GB, free: 7.492 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.336, allocations: 52.38 kB / 1.128 GB, free: 7.441 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3372, allocations: 0.7712 MB / 1.129 GB, free: 6.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3372, allocations: 0 / 1.129 GB, free: 6.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.3373, allocations: 28 kB / 1.129 GB, free: 6.562 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3373, allocations: 16 kB / 1.129 GB, free: 6.547 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3383, allocations: 427.6 kB / 1.129 GB, free: 6.129 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.3411, allocations: 1.815 MB / 1.131 GB, free: 4.254 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.3423, allocations: 481.2 kB / 1.132 GB, free: 3.773 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.3428, allocations: 208.8 kB / 1.132 GB, free: 3.566 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.3429, allocations: 7.938 kB / 1.132 GB, free: 3.559 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007151/0.3436, allocations: 341.3 kB / 1.132 GB, free: 3.199 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.3436, allocations: 0 / 1.132 GB, free: 3.199 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.001595/0.3452, allocations: 0.6156 MB / 1.133 GB, free: 2.578 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.3453, allocations: 114.6 kB / 1.133 GB, free: 2.441 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.346, allocations: 0.5709 MB / 1.133 GB, free: 1.863 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.3461, allocations: 37.7 kB / 1.133 GB, free: 1.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3464, allocations: 373.1 kB / 1.134 GB, free: 1.453 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.3465, allocations: 162.6 kB / 1.134 GB, free: 1.293 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.3467, allocations: 98.33 kB / 1.134 GB, free: 1.191 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3469, allocations: 378.8 kB / 1.134 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.3474, allocations: 213.1 kB / 1.135 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.348, allocations: 367.2 kB / 1.135 GB, free: 180 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6138/0.9618, allocations: 475.9 kB / 1.135 GB, free: 57.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.9618, allocations: 0 / 1.135 GB, free: 57.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00123/0.963, allocations: 0.6343 MB / 1.136 GB, free: 57.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.963, allocations: 33.8 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.963, allocations: 5.125 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.9631, allocations: 7.625 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.9635, allocations: 109 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.9636, allocations: 5.812 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.964, allocations: 65.08 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.964, allocations: 18.38 kB / 1.136 GB, free: 57.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005251/0.9645, allocations: 347.7 kB / 1.137 GB, free: 57.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000396/0.9649, allocations: 360.5 kB / 1.137 GB, free: 57.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007083/0.9657, allocations: 455.6 kB / 1.137 GB, free: 57.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.9657, allocations: 0 / 1.137 GB, free: 57.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009287/0.9666, allocations: 0.608 MB / 1.138 GB, free: 57.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9666, allocations: 32.73 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.9666, allocations: 6.656 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.9666, allocations: 5.438 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.967, allocations: 101.4 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.967, allocations: 9.438 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.9674, allocations: 54 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.9675, allocations: 23.33 kB / 1.138 GB, free: 57.21 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001228/0.9676, allocations: 213.4 kB / 1.138 GB, free: 57.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.9676, allocations: 72.42 kB / 1.138 GB, free: 57.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.9678, allocations: 80.84 kB / 1.139 GB, free: 57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.9678, allocations: 2.531 kB / 1.139 GB, free: 57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9678, allocations: 6 kB / 1.139 GB, free: 57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9678, allocations: 0 / 1.139 GB, free: 57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.9682, allocations: 461.1 kB / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.9682, allocations: 0 / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.9687, allocations: 87.52 kB / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.9687, allocations: 2.5 kB / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.9687, allocations: 10.38 kB / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.9687, allocations: 2.812 kB / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9687, allocations: 3.812 kB / 1.139 GB, free: 56.87 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.97, allocations: 0.7315 MB / 1.14 GB, free: 56.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.9702, allocations: 118 kB / 1.14 GB, free: 56.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.9703, allocations: 18.81 kB / 1.14 GB, free: 56.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.9707, allocations: 34.17 kB / 1.14 GB, free: 56.51 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.9708, allocations: 31.72 kB / 1.14 GB, free: 56.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.9708, allocations: 18.69 kB / 1.14 GB, free: 56.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003444/0.9712, allocations: 403.2 kB / 1.14 GB, free: 56.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9712, allocations: 0 / 1.14 GB, free: 56.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000526/0.9717, allocations: 230 kB / 1.141 GB, free: 56.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001132/0.9718, allocations: 114.5 kB / 1.141 GB, free: 56.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.9731, allocations: 0.8179 MB / 1.142 GB, free: 55.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9731, allocations: 0 / 1.142 GB, free: 55.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.9736, allocations: 211 kB / 1.142 GB, free: 55.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.9743, allocations: 211.6 kB / 1.142 GB, free: 55.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.9761, allocations: 1.182 MB / 1.143 GB, free: 54.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.9763, allocations: 322.2 kB / 1.143 GB, free: 54.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.9766, allocations: 87.25 kB / 1.143 GB, free: 54.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.9767, allocations: 45.67 kB / 1.144 GB, free: 54.86 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/0.9767, allocations: 5.203 kB / 1.144 GB, free: 54.85 MB / 1.076 GB Notification: Performance of Templates: time 0.01252/0.9892, allocations: 8.05 MB / 1.151 GB, free: 53.96 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPID.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.721208055969328]