Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00168/0.00168, allocations: 79.42 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.001952/0.001952, allocations: 165.7 kB / 23.01 MB, free: 4.598 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.474/1.474, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.875/2.875, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002141/0.002141, allocations: 75.88 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004808/1.056, allocations: 3.363 MB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002841/1.058, allocations: 1.337 MB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/1.059, allocations: 33.41 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003783/1.059, allocations: 129.8 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005472/1.06, allocations: 181.8 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/1.061, allocations: 0.5767 MB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001134/1.062, allocations: 0.9628 MB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/1.063, allocations: 231 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/1.063, allocations: 379.5 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/1.064, allocations: 321.5 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/1.064, allocations: 83.14 kB / 1.194 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/1.064, allocations: 79.66 kB / 1.194 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/1.064, allocations: 189.7 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/1.064, allocations: 303 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.065, allocations: 0.9044 MB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.065, allocations: 0.9688 kB / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.295e-06/1.065, allocations: 0 / 1.195 GB, free: 10.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.065, allocations: 0.75 kB / 1.195 GB, free: 10.66 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.002112/1.067, allocations: 1.128 MB / 1.196 GB, free: 9.906 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.067, allocations: 9.469 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/1.068, allocations: 100.1 kB / 1.197 GB, free: 9.855 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/1.069, allocations: 0.5607 MB / 1.197 GB, free: 9.488 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.069, allocations: 148.2 kB / 1.197 GB, free: 9.344 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/1.069, allocations: 56.66 kB / 1.197 GB, free: 9.324 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.07, allocations: 0.7654 MB / 1.198 GB, free: 8.816 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/1.07, allocations: 1.844 kB / 1.198 GB, free: 8.816 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/1.07, allocations: 21.78 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/1.07, allocations: 12.31 kB / 1.198 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.071, allocations: 427.2 kB / 1.199 GB, free: 8.652 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/1.074, allocations: 1.823 MB / 1.2 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.075, allocations: 476 kB / 1.201 GB, free: 7.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/1.075, allocations: 204.4 kB / 1.201 GB, free: 7.082 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/1.076, allocations: 8.922 kB / 1.201 GB, free: 7.078 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007042/1.076, allocations: 343.4 kB / 1.201 GB, free: 6.883 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/1.076, allocations: 1.062 kB / 1.201 GB, free: 6.883 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.001547/1.078, allocations: 0.6172 MB / 1.202 GB, free: 6.633 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/1.078, allocations: 113.6 kB / 1.202 GB, free: 6.504 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007001/1.079, allocations: 0.5711 MB / 1.203 GB, free: 6.246 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/1.079, allocations: 33.83 kB / 1.203 GB, free: 6.211 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/1.079, allocations: 374.7 kB / 1.203 GB, free: 5.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.079, allocations: 159.8 kB / 1.203 GB, free: 5.785 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.079, allocations: 99 kB / 1.203 GB, free: 5.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.079, allocations: 375.7 kB / 1.204 GB, free: 5.391 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/1.08, allocations: 220.1 kB / 1.204 GB, free: 5.281 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/1.08, allocations: 364.2 kB / 1.204 GB, free: 5.008 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/1.081, allocations: 472.4 kB / 1.205 GB, free: 4.734 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.081, allocations: 5.375 kB / 1.205 GB, free: 4.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001215/1.082, allocations: 0.6343 MB / 1.205 GB, free: 4.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/1.082, allocations: 43.11 kB / 1.205 GB, free: 4.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.082, allocations: 2.156 kB / 1.205 GB, free: 4.371 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.082, allocations: 5.312 kB / 1.205 GB, free: 4.371 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/1.083, allocations: 109 kB / 1.205 GB, free: 4.359 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.083, allocations: 4.75 kB / 1.205 GB, free: 4.359 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004312/1.083, allocations: 68.17 kB / 1.205 GB, free: 4.324 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/1.083, allocations: 18.17 kB / 1.205 GB, free: 4.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005864/1.084, allocations: 342.1 kB / 1.206 GB, free: 4.109 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004765/1.084, allocations: 359 kB / 1.206 GB, free: 3.832 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007971/1.085, allocations: 457.1 kB / 1.207 GB, free: 3.551 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/1.085, allocations: 1.953 kB / 1.207 GB, free: 3.551 MB / 1.076 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001082/1.086, allocations: 0.6116 MB / 1.207 GB, free: 3.242 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.086, allocations: 32.95 kB / 1.207 GB, free: 3.211 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.086, allocations: 2.688 kB / 1.207 GB, free: 3.211 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/1.086, allocations: 10.61 kB / 1.207 GB, free: 3.207 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/1.087, allocations: 108.4 kB / 1.207 GB, free: 3.191 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.087, allocations: 5.281 kB / 1.207 GB, free: 3.191 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/1.087, allocations: 54.7 kB / 1.207 GB, free: 3.164 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/1.087, allocations: 18.58 kB / 1.207 GB, free: 3.16 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.0001625/1.087, allocations: 214.7 kB / 1.208 GB, free: 2.953 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.088, allocations: 76.52 kB / 1.208 GB, free: 2.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/1.088, allocations: 81.42 kB / 1.208 GB, free: 2.855 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.088, allocations: 8.594 kB / 1.208 GB, free: 2.852 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/1.088, allocations: 1.875 kB / 1.208 GB, free: 2.852 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.088, allocations: 2.344 kB / 1.208 GB, free: 2.852 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/1.088, allocations: 453.7 kB / 1.208 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.088, allocations: 0 / 1.208 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/1.089, allocations: 87.55 kB / 1.208 GB, free: 2.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.089, allocations: 2.219 kB / 1.208 GB, free: 2.582 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/1.089, allocations: 13.36 kB / 1.208 GB, free: 2.574 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.089, allocations: 1.828 kB / 1.208 GB, free: 2.574 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.089, allocations: 0 / 1.208 GB, free: 2.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/1.09, allocations: 0.7316 MB / 1.209 GB, free: 2.234 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/1.091, allocations: 121.7 kB / 1.209 GB, free: 2.156 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/1.091, allocations: 7.234 kB / 1.209 GB, free: 2.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/1.091, allocations: 43.97 kB / 1.209 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.091, allocations: 29.91 kB / 1.209 GB, free: 2.137 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/1.091, allocations: 18.98 kB / 1.209 GB, free: 2.133 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005257/1.092, allocations: 400.2 kB / 1.21 GB, free: 1.953 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/1.092, allocations: 0 / 1.21 GB, free: 1.953 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007153/1.092, allocations: 231.8 kB / 1.21 GB, free: 1.883 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.0001298/1.093, allocations: 112.8 kB / 1.21 GB, free: 1.785 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.094, allocations: 0.8157 MB / 1.211 GB, free: 1.379 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.094, allocations: 1.219 kB / 1.211 GB, free: 1.379 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/1.095, allocations: 203.2 kB / 1.211 GB, free: 1.316 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/1.096, allocations: 201.7 kB / 1.211 GB, free: 1.246 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/1.098, allocations: 1.192 MB / 1.212 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.098, allocations: 327.8 kB / 1.213 GB, free: 460 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004044/1.098, allocations: 97.77 kB / 1.213 GB, free: 428 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.098, allocations: 45.06 kB / 1.213 GB, free: 420 kB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/1.098, allocations: 1.25 kB / 1.213 GB, free: 420 kB / 1.076 GB Notification: Performance of Templates: time 0.01804/1.117, allocations: 8.061 MB / 1.221 GB, free: 15.42 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.48184138291981]