Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.001689/0.001689, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.002107/0.002107, allocations: 216.7 kB / 23.01 MB, free: 5.113 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.13/3.13, allocations: 0.49 GB / 0.7958 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [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.002033/0.002033, allocations: 67 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3208, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005351/0.3261, allocations: 3.641 MB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004021/0.3301, allocations: 2.167 MB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007015/0.3308, allocations: 27.88 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.3314, allocations: 174.1 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.3318, allocations: 162.5 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3332, allocations: 0.5211 MB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3348, allocations: 1.248 MB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007657/0.3356, allocations: 434.3 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.3361, allocations: 462.2 kB / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.3367, allocations: 481.5 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.3368, allocations: 136 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.337, allocations: 136 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.3373, allocations: 259.1 kB / 1.337 GB, free: 7.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.3377, allocations: 0.505 MB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3393, allocations: 1.435 MB / 1.339 GB, free: 5.641 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3393, allocations: 0 / 1.339 GB, free: 5.641 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3393, allocations: 0 / 1.339 GB, free: 5.641 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.3393, allocations: 0 / 1.339 GB, free: 5.641 MB / 1.029 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.002895/0.3422, allocations: 1.567 MB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3423, allocations: 8.031 kB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.3425, allocations: 128.1 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.3435, allocations: 0.5388 MB / 1.341 GB, free: 3.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.3435, allocations: 66.38 kB / 1.341 GB, free: 3.258 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3437, allocations: 92.38 kB / 1.341 GB, free: 3.168 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.3453, allocations: 0.8641 MB / 1.342 GB, free: 2.277 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.3453, allocations: 4.188 kB / 1.342 GB, free: 2.273 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.3454, allocations: 39.94 kB / 1.342 GB, free: 2.234 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.3454, allocations: 20 kB / 1.342 GB, free: 2.215 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.3469, allocations: 0.6363 MB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.352, allocations: 2.906 MB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.3535, allocations: 0.6643 MB / 1.346 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/0.3542, allocations: 350.5 kB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.3543, allocations: 13.73 kB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008043/0.3551, allocations: 344.4 kB / 1.347 GB, free: 13.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 3.897e-06/0.3551, allocations: 0 / 1.347 GB, free: 13.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.002045/0.3571, allocations: 0.837 MB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.3573, allocations: 196.6 kB / 1.348 GB, free: 12.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3583, allocations: 0.6801 MB / 1.348 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/0.3584, allocations: 41.7 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.3588, allocations: 440.6 kB / 1.349 GB, free: 10.94 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.3591, allocations: 237.9 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.3593, allocations: 142.7 kB / 1.349 GB, free: 10.56 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3595, allocations: 341.9 kB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.3602, allocations: 292.7 kB / 1.35 GB, free: 9.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.361, allocations: 482.2 kB / 1.35 GB, free: 9.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3624, allocations: 0.6775 MB / 1.351 GB, free: 8.668 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3624, allocations: 3.938 kB / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001921/0.3643, allocations: 0.8809 MB / 1.352 GB, free: 7.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.3643, allocations: 38.08 kB / 1.352 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3644, allocations: 8 kB / 1.352 GB, free: 7.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3644, allocations: 7.984 kB / 1.352 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.3651, allocations: 163.7 kB / 1.352 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.3651, allocations: 4 kB / 1.352 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.3657, allocations: 143.3 kB / 1.352 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/0.3658, allocations: 39.98 kB / 1.352 GB, free: 7.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007414/0.3666, allocations: 394 kB / 1.353 GB, free: 6.977 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006113/0.3672, allocations: 414.2 kB / 1.353 GB, free: 6.504 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008904/0.3681, allocations: 0.5681 MB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.3681, allocations: 0 / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001413/0.3695, allocations: 0.7642 MB / 1.354 GB, free: 5.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.3695, allocations: 37.7 kB / 1.354 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3695, allocations: 4 kB / 1.354 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3695, allocations: 11.94 kB / 1.354 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.3701, allocations: 143.8 kB / 1.354 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3701, allocations: 4 kB / 1.354 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.3707, allocations: 115.6 kB / 1.355 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.3707, allocations: 27.98 kB / 1.355 GB, free: 4.77 MB / 1.045 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.0002535/0.371, allocations: 228.6 kB / 1.355 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3711, allocations: 87.38 kB / 1.355 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.3725, allocations: 0.6537 MB / 1.355 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3725, allocations: 11.98 kB / 1.355 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3725, allocations: 0 / 1.355 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3726, allocations: 3.984 kB / 1.355 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3753, allocations: 1.637 MB / 1.357 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.3754, allocations: 7.938 kB / 1.357 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.3759, allocations: 127.8 kB / 1.357 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.3759, allocations: 4 kB / 1.357 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.376, allocations: 20.27 kB / 1.357 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.376, allocations: 8 kB / 1.357 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.376, allocations: 7.938 kB / 1.357 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.378, allocations: 1.088 MB / 1.358 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.3781, allocations: 107.2 kB / 1.358 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.3782, allocations: 16 kB / 1.358 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3786, allocations: 51.94 kB / 1.358 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.3787, allocations: 44.42 kB / 1.359 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.3787, allocations: 24 kB / 1.359 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006174/0.3793, allocations: 483 kB / 1.359 GB, free: 48 kB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3793, allocations: 96 / 1.359 GB, free: 48 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009388/0.3803, allocations: 323.1 kB / 1.359 GB, free: 15.73 MB / 1.061 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.0002578/0.3805, allocations: 135 kB / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.3828, allocations: 1.061 MB / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3828, allocations: 0 / 1.36 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.3834, allocations: 296.4 kB / 1.361 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.3844, allocations: 191.7 kB / 1.361 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3872, allocations: 1.54 MB / 1.362 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.3879, allocations: 0.9858 MB / 1.363 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.3881, allocations: 71.41 kB / 1.363 GB, free: 11.35 MB / 1.061 GB Notification: Performance of SimCode: time 1.804e-06/0.3881, allocations: 0 / 1.363 GB, free: 11.35 MB / 1.061 GB Notification: Performance of Templates: time 0.01898/0.4071, allocations: 10.16 MB / 1.373 GB, free: 1.223 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.021934126009]