Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.001879/0.001879, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002506/0.002506, allocations: 188.9 kB / 22.23 MB, free: 5.137 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.629/1.629, allocations: 225.6 MB / 251 MB, free: 13.03 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 3.158/3.158, allocations: 476.7 MB / 0.7646 GB, free: 9.883 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.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.995/0.9971, allocations: 168.8 MB / 1.274 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005343/1.002, allocations: 3.634 MB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003643/1.006, allocations: 2.136 MB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/1.006, allocations: 23.88 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004215/1.007, allocations: 178.1 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/1.007, allocations: 154.6 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/1.008, allocations: 0.5291 MB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001227/1.01, allocations: 1.245 MB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006867/1.01, allocations: 442.3 kB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/1.011, allocations: 458.3 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/1.011, allocations: 489.5 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/1.011, allocations: 131.9 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/1.012, allocations: 140 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/1.012, allocations: 255.1 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/1.012, allocations: 0.5012 MB / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/1.014, allocations: 1.445 MB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.014, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/1.014, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.846e-05/1.014, allocations: 0 / 1.286 GB, free: 8.457 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002684/1.017, allocations: 1.563 MB / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.017, allocations: 8.031 kB / 1.287 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/1.017, allocations: 124.2 kB / 1.287 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/1.018, allocations: 0.5387 MB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/1.018, allocations: 74.36 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.018, allocations: 88.38 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.019, allocations: 0.868 MB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.019, allocations: 192 / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/1.019, allocations: 43.94 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/1.019, allocations: 20 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.021, allocations: 0.6285 MB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/1.025, allocations: 2.914 MB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/1.027, allocations: 0.6597 MB / 1.293 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/1.028, allocations: 346.5 kB / 1.293 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/1.028, allocations: 12.66 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/1.028, allocations: 344.3 kB / 1.294 GB, free: 16 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=68): time 2.786e-06/1.028, allocations: 4 kB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.001801/1.03, allocations: 0.837 MB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.03, allocations: 192.6 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/1.031, allocations: 0.6763 MB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/1.031, allocations: 45.7 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/1.032, allocations: 437.7 kB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/1.032, allocations: 241.9 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/1.032, allocations: 146.6 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.032, allocations: 337.9 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/1.033, allocations: 296.7 kB / 1.297 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/1.034, allocations: 478.2 kB / 1.297 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/1.035, allocations: 0.6735 MB / 1.298 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.035, allocations: 3.938 kB / 1.298 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002137/1.037, allocations: 0.8811 MB / 1.299 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/1.037, allocations: 37.7 kB / 1.299 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.037, allocations: 4 kB / 1.299 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/1.037, allocations: 8 kB / 1.299 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/1.038, allocations: 163.9 kB / 1.299 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/1.038, allocations: 11.98 kB / 1.299 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/1.039, allocations: 143.3 kB / 1.299 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/1.039, allocations: 27.98 kB / 1.299 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007835/1.04, allocations: 394 kB / 1.3 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006341/1.04, allocations: 422.2 kB / 1.3 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009449/1.041, allocations: 0.5682 MB / 1.301 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.041, allocations: 0 / 1.301 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001603/1.043, allocations: 0.7638 MB / 1.301 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/1.043, allocations: 43.41 kB / 1.301 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.043, allocations: 192 / 1.301 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/1.043, allocations: 8 kB / 1.301 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/1.044, allocations: 148.1 kB / 1.302 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.044, allocations: 7.938 kB / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/1.044, allocations: 111.5 kB / 1.302 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/1.044, allocations: 28 kB / 1.302 GB, free: 7.598 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0002846/1.044, allocations: 236 kB / 1.302 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.045, allocations: 87.47 kB / 1.302 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.046, allocations: 0.6576 MB / 1.303 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.046, allocations: 4 kB / 1.303 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.046, allocations: 0 / 1.303 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.046, allocations: 3.984 kB / 1.303 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/1.049, allocations: 1.634 MB / 1.304 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.049, allocations: 11.97 kB / 1.304 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/1.049, allocations: 131.8 kB / 1.304 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.049, allocations: 4 kB / 1.304 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/1.049, allocations: 15.98 kB / 1.304 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/1.049, allocations: 8 kB / 1.304 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.049, allocations: 0 / 1.304 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/1.051, allocations: 1.096 MB / 1.305 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.051, allocations: 103.3 kB / 1.306 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/1.051, allocations: 15.94 kB / 1.306 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/1.052, allocations: 51.95 kB / 1.306 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/1.052, allocations: 44.36 kB / 1.306 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/1.052, allocations: 23.98 kB / 1.306 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006319/1.053, allocations: 487 kB / 1.306 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.053, allocations: 0 / 1.306 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009097/1.053, allocations: 327.1 kB / 1.306 GB, free: 2.551 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002181/1.054, allocations: 123.1 kB / 1.307 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.056, allocations: 1.058 MB / 1.308 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.056, allocations: 4.062 kB / 1.308 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005621/1.056, allocations: 290.5 kB / 1.308 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/1.057, allocations: 189 kB / 1.308 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/1.06, allocations: 1.519 MB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/1.061, allocations: 0.9742 MB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003661/1.061, allocations: 101.9 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.061, allocations: 63.42 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.061, allocations: 0 / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of Templates: time 0.02003/1.081, allocations: 10.22 MB / 1.321 GB, free: 4 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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: 10.306885260157287]