Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.001625/0.001625, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.00173/0.00173, allocations: 208.3 kB / 22.99 MB, free: 4.965 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.226/3.226, allocations: 0.5107 GB / 0.8166 GB, free: 17.93 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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [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.002138/0.002138, allocations: 64.95 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003346/0.3437, allocations: 1.62 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3458, allocations: 1.287 MB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.3461, allocations: 4 kB / 1.368 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3464, allocations: 71.2 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.3466, allocations: 67.45 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.347, allocations: 167.7 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.3478, allocations: 489 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.3482, allocations: 179.9 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.3485, allocations: 187.2 kB / 1.369 GB, free: 9.488 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.3487, allocations: 167 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.3488, allocations: 52 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.3489, allocations: 52 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.349, allocations: 119.5 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3491, allocations: 163.1 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.3498, allocations: 0.599 MB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3498, allocations: 0 / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3498, allocations: 0 / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.3498, allocations: 0 / 1.37 GB, free: 8.344 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001447/0.3513, allocations: 0.7564 MB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3513, allocations: 8.031 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3514, allocations: 52.61 kB / 1.371 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.352, allocations: 286.2 kB / 1.371 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.352, allocations: 33.38 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.3521, allocations: 36.38 kB / 1.371 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.3529, allocations: 470.9 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3529, allocations: 3.938 kB / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.3529, allocations: 16 kB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.353, allocations: 8 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006261/0.3536, allocations: 283.8 kB / 1.372 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.3557, allocations: 1.14 MB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.3565, allocations: 238.8 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.3567, allocations: 116.8 kB / 1.373 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3567, allocations: 4 kB / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.3568, allocations: 34.5 kB / 1.373 GB, free: 4.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.3568, allocations: 0 / 1.373 GB, free: 4.738 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0007344/0.3575, allocations: 298.8 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.3576, allocations: 102.8 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.358, allocations: 348.4 kB / 1.374 GB, free: 3.969 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.3581, allocations: 29.7 kB / 1.374 GB, free: 3.934 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.3583, allocations: 264 kB / 1.374 GB, free: 3.672 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.647e-05/0.3583, allocations: 79.3 kB / 1.374 GB, free: 3.594 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3585, allocations: 70.02 kB / 1.374 GB, free: 3.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3586, allocations: 346.8 kB / 1.375 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.3589, allocations: 122.1 kB / 1.375 GB, free: 3.047 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.3593, allocations: 307.2 kB / 1.375 GB, free: 2.684 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.3599, allocations: 277.6 kB / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3599, allocations: 0 / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007769/0.3607, allocations: 369.2 kB / 1.376 GB, free: 2.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3607, allocations: 4 kB / 1.376 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3607, allocations: 4 kB / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3608, allocations: 7.938 kB / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.3611, allocations: 71.89 kB / 1.376 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3611, allocations: 4 kB / 1.376 GB, free: 1.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3613, allocations: 47.75 kB / 1.376 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3613, allocations: 8 kB / 1.376 GB, free: 1.875 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003037/0.3616, allocations: 204.8 kB / 1.376 GB, free: 1.672 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003317/0.362, allocations: 290.8 kB / 1.376 GB, free: 1.324 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003679/0.3623, allocations: 238 kB / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.3623, allocations: 0 / 1.376 GB, free: 1.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005648/0.3629, allocations: 315.4 kB / 1.377 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3629, allocations: 10.5 kB / 1.377 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3629, allocations: 0 / 1.377 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.3629, allocations: 4 kB / 1.377 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3632, allocations: 63.91 kB / 1.377 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3632, allocations: 7.938 kB / 1.377 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3634, allocations: 35.83 kB / 1.377 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3634, allocations: 16.22 kB / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001844/0.3636, allocations: 204.8 kB / 1.377 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3637, allocations: 27.81 kB / 1.377 GB, free: 396 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.3642, allocations: 236.5 kB / 1.377 GB, free: 152 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3642, allocations: 0 / 1.377 GB, free: 152 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3642, allocations: 4 kB / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3642, allocations: 0 / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.3655, allocations: 0.6659 MB / 1.378 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3655, allocations: 3.938 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.3658, allocations: 39.97 kB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3658, allocations: 4 kB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3658, allocations: 8.156 kB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3658, allocations: 4 kB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.3658, allocations: 7.938 kB / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.3666, allocations: 447.4 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.3667, allocations: 35.78 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.3667, allocations: 12 kB / 1.379 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3669, allocations: 19.98 kB / 1.379 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3669, allocations: 23.84 kB / 1.379 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3669, allocations: 12 kB / 1.379 GB, free: 14.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002916/0.3672, allocations: 239.1 kB / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3672, allocations: 0 / 1.379 GB, free: 14.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005589/0.3678, allocations: 147.4 kB / 1.379 GB, free: 14.41 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001452/0.3679, allocations: 107.2 kB / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008538/0.3688, allocations: 365.4 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3688, allocations: 4 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.369, allocations: 88.83 kB / 1.379 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.3695, allocations: 69.56 kB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3709, allocations: 0.6953 MB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.3711, allocations: 195.8 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.3712, allocations: 35.42 kB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.3712, allocations: 0 / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of Templates: time 0.00769/0.3789, allocations: 4.266 MB / 1.385 GB, free: 8.543 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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: 11.51730646006763]