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.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.00132/0.00132, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.00138/0.00138, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.531/1.531, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.069/3.069, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 1.103 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004817/1.162, allocations: 3.705 MB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002627/1.164, allocations: 1.33 MB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/1.165, allocations: 25.06 kB / 1.267 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003364/1.165, allocations: 126.9 kB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005094/1.166, allocations: 179.6 kB / 1.268 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/1.167, allocations: 0.5681 MB / 1.268 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0011/1.168, allocations: 0.9724 MB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005526/1.169, allocations: 350 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/1.169, allocations: 368.1 kB / 1.27 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/1.17, allocations: 346.3 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/1.17, allocations: 78 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/1.17, allocations: 78.38 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/1.17, allocations: 185.7 kB / 1.271 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/1.17, allocations: 375.9 kB / 1.271 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009755/1.171, allocations: 0.8943 MB / 1.272 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.171, allocations: 0.7188 kB / 1.272 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/1.171, allocations: 0 / 1.272 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.176e-05/1.171, allocations: 4 kB / 1.272 GB, free: 1.977 MB / 0.9981 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.001967/1.173, allocations: 1.206 MB / 1.273 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.173, allocations: 13.17 kB / 1.273 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/1.173, allocations: 98.11 kB / 1.273 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/1.174, allocations: 0.6308 MB / 1.274 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.175, allocations: 95.7 kB / 1.274 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/1.175, allocations: 51.91 kB / 1.274 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.176, allocations: 0.5992 MB / 1.274 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.176, allocations: 0.875 kB / 1.274 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/1.176, allocations: 22.41 kB / 1.275 GB, free: 224 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.176, allocations: 16.38 kB / 1.275 GB, free: 220 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/1.177, allocations: 423.7 kB / 1.275 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/1.18, allocations: 2.105 MB / 1.277 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.181, allocations: 0.4952 MB / 1.277 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/1.182, allocations: 211.6 kB / 1.278 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/1.182, allocations: 13.33 kB / 1.278 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006881/1.183, allocations: 277 kB / 1.278 GB, free: 14.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/1.183, allocations: 1.25 kB / 1.278 GB, free: 14.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.001645/1.184, allocations: 0.6173 MB / 1.279 GB, free: 13.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/1.184, allocations: 91.33 kB / 1.279 GB, free: 13.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/1.185, allocations: 0.613 MB / 1.279 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/1.185, allocations: 40.39 kB / 1.279 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/1.186, allocations: 361.2 kB / 1.28 GB, free: 13.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.186, allocations: 166.9 kB / 1.28 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.186, allocations: 96.09 kB / 1.28 GB, free: 13.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.186, allocations: 326.2 kB / 1.28 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/1.187, allocations: 184.6 kB / 1.28 GB, free: 12.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/1.187, allocations: 272.9 kB / 1.281 GB, free: 12.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/1.188, allocations: 485.7 kB / 1.281 GB, free: 12.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.188, allocations: 7.188 kB / 1.281 GB, free: 12.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001214/1.189, allocations: 0.5968 MB / 1.282 GB, free: 11.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.189, allocations: 34.67 kB / 1.282 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.189, allocations: 6.531 kB / 1.282 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.189, allocations: 8.688 kB / 1.282 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/1.19, allocations: 108.6 kB / 1.282 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/1.19, allocations: 9.219 kB / 1.282 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/1.19, allocations: 64.8 kB / 1.282 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/1.19, allocations: 19.38 kB / 1.282 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005705/1.191, allocations: 310 kB / 1.282 GB, free: 11.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004778/1.191, allocations: 265.6 kB / 1.282 GB, free: 11.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008533/1.192, allocations: 454.1 kB / 1.283 GB, free: 11.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/1.192, allocations: 2.219 kB / 1.283 GB, free: 11.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0011/1.193, allocations: 0.5817 MB / 1.283 GB, free: 10.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.193, allocations: 34.39 kB / 1.283 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.193, allocations: 4.406 kB / 1.284 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/1.193, allocations: 4.422 kB / 1.284 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/1.194, allocations: 103.2 kB / 1.284 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.194, allocations: 14.28 kB / 1.284 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/1.194, allocations: 54.44 kB / 1.284 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/1.194, allocations: 18.67 kB / 1.284 GB, free: 10.89 MB / 1.014 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.0002181/1.195, allocations: 214.4 kB / 1.284 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.195, allocations: 80.53 kB / 1.284 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.195, allocations: 81.84 kB / 1.284 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.195, allocations: 5.188 kB / 1.284 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.195, allocations: 4.609 kB / 1.284 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.195, allocations: 1.875 kB / 1.284 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/1.196, allocations: 0.6233 MB / 1.285 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.196, allocations: 1.609 kB / 1.285 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/1.196, allocations: 83.69 kB / 1.285 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.196, allocations: 1.375 kB / 1.285 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/1.196, allocations: 7.984 kB / 1.285 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.196, allocations: 2.297 kB / 1.285 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.196, allocations: 0.8438 kB / 1.285 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.198, allocations: 0.7354 MB / 1.285 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/1.198, allocations: 199.8 kB / 1.286 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/1.198, allocations: 15.97 kB / 1.286 GB, free: 9.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/1.199, allocations: 30.83 kB / 1.286 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.199, allocations: 30.31 kB / 1.286 GB, free: 9.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/1.199, allocations: 17.88 kB / 1.286 GB, free: 9.656 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005965/1.199, allocations: 432.3 kB / 1.286 GB, free: 9.465 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.199, allocations: 0 / 1.286 GB, free: 9.465 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006638/1.2, allocations: 215.5 kB / 1.286 GB, free: 9.41 MB / 1.014 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.000162/1.2, allocations: 120.1 kB / 1.286 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00172/1.202, allocations: 0.7825 MB / 1.287 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.202, allocations: 0 / 1.287 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/1.202, allocations: 218.6 kB / 1.287 GB, free: 8.891 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/1.203, allocations: 203.4 kB / 1.288 GB, free: 8.824 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/1.206, allocations: 1.231 MB / 1.289 GB, free: 8.117 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/1.206, allocations: 0.9166 MB / 1.29 GB, free: 7.406 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/1.207, allocations: 50.58 kB / 1.29 GB, free: 7.398 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/1.207, allocations: 0 / 1.29 GB, free: 7.398 MB / 1.014 GB Notification: Performance of Templates: time 0.01693/1.224, allocations: 8.726 MB / 1.298 GB, free: 6.418 MB / 1.014 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 -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_2/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: 13.130228244932368]