Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001334/0.001334, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001823/0.001823, allocations: 217 kB / 23.01 MB, free: 4.609 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.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 3.386/3.386, allocations: 0.505 GB / 0.8108 GB, free: 22.11 MB / 0.6231 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.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_latest_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_latest_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.00204/0.00204, allocations: 69.72 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005397/0.329, allocations: 3.632 MB / 1.358 GB, free: 4.328 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003779/0.3327, allocations: 2.163 MB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.3332, allocations: 23.88 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.3337, allocations: 178.1 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.334, allocations: 150.6 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3352, allocations: 0.5299 MB / 1.361 GB, free: 1.273 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3365, allocations: 1.245 MB / 1.362 GB, free: 28 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.3372, allocations: 434.3 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.3377, allocations: 466.2 kB / 1.363 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.3382, allocations: 485.6 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.3384, allocations: 131.9 kB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.3386, allocations: 148 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.3388, allocations: 247.2 kB / 1.364 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.3392, allocations: 0.505 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.3406, allocations: 1.443 MB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3406, allocations: 4 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3406, allocations: 4 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.3407, allocations: 0 / 1.366 GB, free: 12.16 MB / 1.061 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.00268/0.3433, allocations: 1.559 MB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3434, allocations: 8.031 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.3436, allocations: 124.2 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009371/0.3445, allocations: 0.5349 MB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.3446, allocations: 70.38 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3447, allocations: 96.33 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3462, allocations: 0.8641 MB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3463, allocations: 192 / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.3463, allocations: 39.94 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.3463, allocations: 20 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3477, allocations: 0.6324 MB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.3523, allocations: 2.918 MB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.3538, allocations: 0.6558 MB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.3545, allocations: 346.5 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.283e-05/0.3545, allocations: 12.64 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.3552, allocations: 344.4 kB / 1.374 GB, free: 3.715 MB / 1.061 GB Notification: Performance of pre-optimization done (n=68): time 2.584e-06/0.3552, allocations: 4 kB / 1.374 GB, free: 3.711 MB / 1.061 GB Notification: Performance of matching and sorting (n=68): time 0.001879/0.3571, allocations: 0.837 MB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3572, allocations: 196.5 kB / 1.375 GB, free: 2.633 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.3581, allocations: 0.6763 MB / 1.375 GB, free: 1.953 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-05/0.3582, allocations: 45.7 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.3586, allocations: 441.7 kB / 1.376 GB, free: 1.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3588, allocations: 245.9 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.359, allocations: 150.6 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3592, allocations: 333.9 kB / 1.376 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.3599, allocations: 296.7 kB / 1.377 GB, free: 452 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008366/0.3607, allocations: 478.2 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.362, allocations: 0.6735 MB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.362, allocations: 4 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001864/0.3639, allocations: 0.8851 MB / 1.379 GB, free: 14.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.3639, allocations: 33.7 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.364, allocations: 4 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.364, allocations: 8 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.3646, allocations: 163.7 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.3647, allocations: 11.98 kB / 1.379 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.3653, allocations: 143.3 kB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.3654, allocations: 31.97 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007147/0.3661, allocations: 394.6 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006118/0.3667, allocations: 422.2 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008679/0.3676, allocations: 0.5642 MB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.3676, allocations: 0 / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001381/0.369, allocations: 0.76 MB / 1.381 GB, free: 11.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.369, allocations: 37.69 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.369, allocations: 4 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.369, allocations: 4 kB / 1.381 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.3696, allocations: 143.8 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3696, allocations: 4.375 kB / 1.381 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.3701, allocations: 115.5 kB / 1.381 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.3702, allocations: 32 kB / 1.381 GB, free: 11.3 MB / 1.076 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.0002414/0.3704, allocations: 224.1 kB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3705, allocations: 87.44 kB / 1.382 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.3719, allocations: 0.6576 MB / 1.382 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.3719, allocations: 4 kB / 1.382 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3719, allocations: 8 kB / 1.382 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3719, allocations: 7.922 kB / 1.382 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.3746, allocations: 1.637 MB / 1.384 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3746, allocations: 3.938 kB / 1.384 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.3752, allocations: 136.1 kB / 1.384 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3752, allocations: 4 kB / 1.384 GB, free: 8.441 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.3752, allocations: 23.98 kB / 1.384 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3752, allocations: 4 kB / 1.384 GB, free: 8.414 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3752, allocations: 3.938 kB / 1.384 GB, free: 8.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3771, allocations: 1.096 MB / 1.385 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3773, allocations: 99.27 kB / 1.385 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/0.3774, allocations: 19.94 kB / 1.385 GB, free: 7.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.3778, allocations: 51.95 kB / 1.385 GB, free: 7.102 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.3778, allocations: 40.42 kB / 1.385 GB, free: 7.062 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.3779, allocations: 27.98 kB / 1.386 GB, free: 7.035 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000621/0.3785, allocations: 483 kB / 1.386 GB, free: 6.566 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3785, allocations: 0 / 1.386 GB, free: 6.566 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009294/0.3794, allocations: 323.1 kB / 1.386 GB, free: 6.25 MB / 1.076 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.0002303/0.3797, allocations: 127.1 kB / 1.386 GB, free: 6.117 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.3819, allocations: 1.058 MB / 1.387 GB, free: 5.039 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.3819, allocations: 3.984 kB / 1.387 GB, free: 5.035 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.3825, allocations: 306.9 kB / 1.388 GB, free: 4.738 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.3834, allocations: 185.9 kB / 1.388 GB, free: 4.562 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.386, allocations: 1.544 MB / 1.389 GB, free: 2.949 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.3866, allocations: 0.9818 MB / 1.39 GB, free: 1.941 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.3869, allocations: 67.36 kB / 1.39 GB, free: 1.875 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/0.3869, allocations: 0 / 1.39 GB, free: 1.875 MB / 1.076 GB Notification: Performance of Templates: time 0.01588/0.4027, allocations: 10.18 MB / 1.4 GB, free: 7.727 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.85096482199151]