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.0008256/0.0008256, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0007923/0.0007923, allocations: 181.2 kB / 23.22 MB, free: 1.316 MB / 18.57 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 0.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.814/1.814, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.536e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003907/0.003942, allocations: 3.376 MB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002299/0.006241, allocations: 1.328 MB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.006678, allocations: 35.75 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.006987, allocations: 130.5 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.007547, allocations: 197.1 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.008567, allocations: 0.5746 MB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007667/0.009333, allocations: 0.9758 MB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.009678, allocations: 234.2 kB / 1.008 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.01012, allocations: 0.5065 MB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.01039, allocations: 263 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.01047, allocations: 80 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.01054, allocations: 84 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.01064, allocations: 183.3 kB / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.01081, allocations: 243.2 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.01155, allocations: 0.9266 MB / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.01156, allocations: 0 / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.725e-06/0.01156, allocations: 0 / 1.01 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.01157, allocations: 0 / 1.01 GB, free: 3.906 MB / 0.9636 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.001435/0.01301, allocations: 1.119 MB / 1.011 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.01305, allocations: 8.75 kB / 1.011 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.01318, allocations: 100.3 kB / 1.011 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.01397, allocations: 0.5537 MB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.01408, allocations: 156.3 kB / 1.012 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.01415, allocations: 52.38 kB / 1.012 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.01492, allocations: 0.7678 MB / 1.012 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01493, allocations: 192 / 1.012 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.01498, allocations: 28.11 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01499, allocations: 12 kB / 1.012 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.01559, allocations: 427.7 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.01748, allocations: 1.819 MB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.01823, allocations: 479.6 kB / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.01851, allocations: 212.7 kB / 1.015 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.01855, allocations: 7.953 kB / 1.015 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.01898, allocations: 337.5 kB / 1.016 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/0.01898, allocations: 0 / 1.016 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.00094/0.01992, allocations: 0.6181 MB / 1.016 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.01999, allocations: 118.6 kB / 1.016 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.02043, allocations: 0.5668 MB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.02047, allocations: 41.64 kB / 1.017 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.02069, allocations: 369 kB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.02078, allocations: 162.7 kB / 1.017 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.02088, allocations: 98.28 kB / 1.018 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.021, allocations: 378.8 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.02129, allocations: 209.1 kB / 1.018 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.02162, allocations: 375.2 kB / 1.018 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.02218, allocations: 470.9 kB / 1.019 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02218, allocations: 3.938 kB / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007399/0.02292, allocations: 0.6292 MB / 1.02 GB, free: 9.402 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.02297, allocations: 37.64 kB / 1.02 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.02298, allocations: 4 kB / 1.02 GB, free: 9.355 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.02299, allocations: 8.297 kB / 1.02 GB, free: 9.348 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.02325, allocations: 111.8 kB / 1.02 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.02326, allocations: 4 kB / 1.02 GB, free: 9.234 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.02348, allocations: 67.64 kB / 1.02 GB, free: 9.168 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.02351, allocations: 16 kB / 1.02 GB, free: 9.152 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004538/0.02396, allocations: 343.1 kB / 1.02 GB, free: 8.809 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003003/0.02426, allocations: 359.2 kB / 1.02 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005038/0.02476, allocations: 460 kB / 1.021 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.02477, allocations: 0 / 1.021 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0006858/0.02545, allocations: 0.6057 MB / 1.021 GB, free: 7.285 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.02548, allocations: 33.7 kB / 1.022 GB, free: 7.246 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.02548, allocations: 4 kB / 1.022 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.02549, allocations: 7.938 kB / 1.022 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.02572, allocations: 107.8 kB / 1.022 GB, free: 7.129 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.02573, allocations: 4 kB / 1.022 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.02593, allocations: 59.95 kB / 1.022 GB, free: 7.066 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.02595, allocations: 16 kB / 1.022 GB, free: 7.051 MB / 0.9792 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.0001531/0.0261, allocations: 222.1 kB / 1.022 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.02617, allocations: 71.53 kB / 1.022 GB, free: 6.758 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-05/0.02626, allocations: 78.69 kB / 1.022 GB, free: 6.68 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.02627, allocations: 8 kB / 1.022 GB, free: 6.672 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.02628, allocations: 0 / 1.022 GB, free: 6.672 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02628, allocations: 0 / 1.022 GB, free: 6.672 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.02671, allocations: 460.8 kB / 1.022 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02672, allocations: 0 / 1.022 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.02696, allocations: 83.89 kB / 1.023 GB, free: 6.109 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.02696, allocations: 0 / 1.023 GB, free: 6.109 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.02699, allocations: 19.98 kB / 1.023 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.02699, allocations: 7.938 kB / 1.023 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.02699, allocations: 0 / 1.023 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.02794, allocations: 0.7296 MB / 1.023 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.02811, allocations: 119.3 kB / 1.023 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.02816, allocations: 8 kB / 1.023 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.02836, allocations: 43.89 kB / 1.023 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.02844, allocations: 35.94 kB / 1.024 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.02846, allocations: 15.98 kB / 1.024 GB, free: 5.117 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000327/0.02879, allocations: 403.1 kB / 1.024 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.02879, allocations: 0 / 1.024 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004482/0.02924, allocations: 227.4 kB / 1.024 GB, free: 4.504 MB / 0.9792 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.0001331/0.02937, allocations: 111.2 kB / 1.024 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009921/0.03036, allocations: 0.8169 MB / 1.025 GB, free: 3.531 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.03036, allocations: 4.125 kB / 1.025 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.03065, allocations: 199.8 kB / 1.025 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.03121, allocations: 205.8 kB / 1.025 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.03276, allocations: 1.187 MB / 1.027 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.03295, allocations: 326.8 kB / 1.027 GB, free: 1.57 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.03308, allocations: 52.48 kB / 1.027 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of SimCode: time 9.32e-07/0.03308, allocations: 0 / 1.027 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of Templates: time 0.009106/0.04219, allocations: 8.919 MB / 1.036 GB, free: 8.648 MB / 0.9948 GB " [Timeout remaining time 300] 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/jenkins/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: 7.307041340507567]