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.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.001739/0.001739, allocations: 110 kB / 18.93 MB, free: 2.945 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.002411/0.002411, allocations: 182.9 kB / 22.22 MB, free: 5.16 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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.903/2.903, allocations: 476.7 MB / 0.7646 GB, free: 9.832 MB / 0.6231 GB " [Timeout remaining time 176] 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.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.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: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 66.55 kB / 1.109 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4035, allocations: 168.8 MB / 1.274 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005657/0.4092, allocations: 3.737 MB / 1.278 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.412, allocations: 1.336 MB / 1.279 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.4125, allocations: 35.75 kB / 1.279 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.4128, allocations: 126.6 kB / 1.279 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.4134, allocations: 198.5 kB / 1.28 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.4146, allocations: 0.5802 MB / 1.28 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.4158, allocations: 0.9681 MB / 1.281 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.4163, allocations: 258.1 kB / 1.281 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004667/0.4167, allocations: 378.4 kB / 1.282 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.4172, allocations: 369.9 kB / 1.282 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.4173, allocations: 80 kB / 1.282 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.4174, allocations: 80 kB / 1.282 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.4176, allocations: 179.3 kB / 1.282 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.4179, allocations: 381.7 kB / 1.283 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.419, allocations: 0.91 MB / 1.284 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.419, allocations: 0 / 1.284 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.419, allocations: 0 / 1.284 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.419, allocations: 0 / 1.284 GB, free: 1.297 MB / 0.9825 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.002293/0.4213, allocations: 1.127 MB / 1.285 GB, free: 132 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4214, allocations: 8.031 kB / 1.285 GB, free: 124 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.4215, allocations: 100.3 kB / 1.285 GB, free: 24 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.4228, allocations: 0.5583 MB / 1.285 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.4229, allocations: 101 kB / 1.286 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-05/0.423, allocations: 56.36 kB / 1.286 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4242, allocations: 0.5964 MB / 1.286 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.4242, allocations: 11.92 kB / 1.286 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.4243, allocations: 23.94 kB / 1.286 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.4243, allocations: 15.98 kB / 1.286 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.4254, allocations: 427.7 kB / 1.287 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.4286, allocations: 2.052 MB / 1.289 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.43, allocations: 0.4912 MB / 1.289 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.4305, allocations: 200.8 kB / 1.289 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.4305, allocations: 8 kB / 1.289 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007504/0.4313, allocations: 289.9 kB / 1.29 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.4313, allocations: 4 kB / 1.29 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001615/0.4329, allocations: 0.6194 MB / 1.29 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.433, allocations: 84.86 kB / 1.29 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008544/0.4339, allocations: 0.6217 MB / 1.291 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.4339, allocations: 33.7 kB / 1.291 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.4343, allocations: 365.2 kB / 1.291 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.4344, allocations: 154.7 kB / 1.291 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.4346, allocations: 98.33 kB / 1.291 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4348, allocations: 326 kB / 1.292 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.4353, allocations: 187.4 kB / 1.292 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.4358, allocations: 285.1 kB / 1.292 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4369, allocations: 470 kB / 1.293 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4369, allocations: 5.031 kB / 1.293 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001336/0.4382, allocations: 0.6104 MB / 1.293 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.4383, allocations: 37.64 kB / 1.293 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4383, allocations: 4 kB / 1.293 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4383, allocations: 4 kB / 1.293 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.4388, allocations: 107.8 kB / 1.293 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4389, allocations: 4 kB / 1.293 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.4393, allocations: 75.78 kB / 1.294 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.4394, allocations: 23.98 kB / 1.294 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006478/0.44, allocations: 305.4 kB / 1.294 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005407/0.4406, allocations: 277.1 kB / 1.294 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009626/0.4415, allocations: 453.9 kB / 1.295 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.4415, allocations: 0 / 1.295 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001266/0.4428, allocations: 0.5833 MB / 1.295 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.4428, allocations: 37.69 kB / 1.295 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4428, allocations: 4 kB / 1.295 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4428, allocations: 8 kB / 1.295 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.4433, allocations: 103.8 kB / 1.295 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.4433, allocations: 11.92 kB / 1.295 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.4437, allocations: 51.75 kB / 1.295 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.4438, allocations: 16 kB / 1.295 GB, free: 4.879 MB / 0.9981 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.0002587/0.444, allocations: 220.8 kB / 1.296 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4442, allocations: 79.48 kB / 1.296 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4444, allocations: 79.22 kB / 1.296 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.4444, allocations: 4 kB / 1.296 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4444, allocations: 0 / 1.296 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4444, allocations: 3.984 kB / 1.296 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.4452, allocations: 0.6092 MB / 1.296 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4452, allocations: 0 / 1.296 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.4457, allocations: 83.89 kB / 1.296 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.4457, allocations: 4 kB / 1.296 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.4457, allocations: 7.984 kB / 1.296 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4458, allocations: 4 kB / 1.296 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4458, allocations: 0 / 1.296 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.4474, allocations: 0.7397 MB / 1.297 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.4477, allocations: 123.4 kB / 1.297 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.4478, allocations: 4 kB / 1.297 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.4482, allocations: 43.95 kB / 1.297 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4483, allocations: 31.94 kB / 1.297 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.4484, allocations: 15.98 kB / 1.297 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005776/0.449, allocations: 435 kB / 1.298 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.449, allocations: 0 / 1.298 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008028/0.4498, allocations: 223.5 kB / 1.298 GB, free: 2.133 MB / 0.9981 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.0001552/0.4499, allocations: 115.1 kB / 1.298 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.4516, allocations: 0.7542 MB / 1.299 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4516, allocations: 0 / 1.299 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.4522, allocations: 211.8 kB / 1.299 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.4532, allocations: 207.1 kB / 1.299 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.4556, allocations: 1.198 MB / 1.3 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.4562, allocations: 0.9142 MB / 1.301 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004268/0.4566, allocations: 89.12 kB / 1.301 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4568, allocations: 47.44 kB / 1.301 GB, free: 14.52 MB / 1.014 GB Notification: Performance of SimCode: time 6.02e-07/0.4568, allocations: 0 / 1.301 GB, free: 14.52 MB / 1.014 GB Notification: Performance of Templates: time 0.01686/0.4736, allocations: 8.05 MB / 1.309 GB, free: 6.562 MB / 1.014 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 9.250577481463552]