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.001953/0.001953, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002634/0.002634, allocations: 208 kB / 22.24 MB, free: 5.262 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.809 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.43/3.43, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.002116/0.002116, allocations: 63.69 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4516, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.005517/0.4571, allocations: 1.635 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.4607, allocations: 1.279 MB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.461, allocations: 11.94 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.4614, allocations: 75.19 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.4616, allocations: 55.45 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.4623, allocations: 167.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.4631, allocations: 492.9 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.4636, allocations: 175.9 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.4639, allocations: 183.3 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.4642, allocations: 178.9 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4643, allocations: 52 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.4644, allocations: 52 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.4646, allocations: 111.6 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.4648, allocations: 171 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008644/0.4657, allocations: 0.5873 MB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4657, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4657, allocations: 0 / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.4657, allocations: 0 / 1.369 GB, free: 8.367 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.00184/0.4675, allocations: 0.7602 MB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.4676, allocations: 8.031 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.4677, allocations: 52.61 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.4685, allocations: 290.2 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.4686, allocations: 29.38 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.4686, allocations: 44.38 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4697, allocations: 458.9 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4697, allocations: 192 / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.4698, allocations: 19.94 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.4698, allocations: 12 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.4707, allocations: 287.8 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.4735, allocations: 1.144 MB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4746, allocations: 230.9 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.4749, allocations: 115 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.4749, allocations: 4 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.475, allocations: 42.56 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.475, allocations: 0 / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001019/0.476, allocations: 287 kB / 1.373 GB, free: 4.465 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4761, allocations: 114.7 kB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.4767, allocations: 344.4 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.4767, allocations: 33.7 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.477, allocations: 260 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.477, allocations: 83.31 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.4772, allocations: 66.03 kB / 1.373 GB, free: 3.531 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4774, allocations: 342.8 kB / 1.374 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.4778, allocations: 114.1 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.4783, allocations: 311.2 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.479, allocations: 269.6 kB / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4791, allocations: 0 / 1.374 GB, free: 2.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001013/0.4801, allocations: 373 kB / 1.375 GB, free: 2.047 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4801, allocations: 4 kB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.4801, allocations: 8 kB / 1.375 GB, free: 2.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4801, allocations: 4 kB / 1.375 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.4805, allocations: 71.83 kB / 1.375 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4806, allocations: 4 kB / 1.375 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.4809, allocations: 47.98 kB / 1.375 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.4809, allocations: 15.98 kB / 1.375 GB, free: 1.895 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003866/0.4813, allocations: 208.7 kB / 1.375 GB, free: 1.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003998/0.4817, allocations: 278.9 kB / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004805/0.4822, allocations: 238.5 kB / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4822, allocations: 0 / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007387/0.4829, allocations: 321.2 kB / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4829, allocations: 11.94 kB / 1.376 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4829, allocations: 0 / 1.376 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.483, allocations: 4 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4833, allocations: 60.12 kB / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4833, allocations: 11.94 kB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4836, allocations: 35.88 kB / 1.376 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.4836, allocations: 12 kB / 1.376 GB, free: 0.6406 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.0001952/0.4838, allocations: 200.9 kB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.4839, allocations: 31.81 kB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.4846, allocations: 238.8 kB / 1.377 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.4846, allocations: 11.92 kB / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4846, allocations: 0 / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4846, allocations: 0 / 1.377 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.4863, allocations: 0.6581 MB / 1.377 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4863, allocations: 8.156 kB / 1.377 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.4866, allocations: 47.91 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4866, allocations: 0 / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.4866, allocations: 7.984 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.4867, allocations: 7.938 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4867, allocations: 0 / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4877, allocations: 459.4 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.4878, allocations: 35.78 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.4879, allocations: 8 kB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.4882, allocations: 19.98 kB / 1.378 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.4882, allocations: 12.16 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.4882, allocations: 8 kB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000384/0.4886, allocations: 239.1 kB / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4886, allocations: 0 / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008056/0.4894, allocations: 143.5 kB / 1.378 GB, free: 14.44 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.0001962/0.4896, allocations: 119.1 kB / 1.378 GB, free: 14.31 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.4908, allocations: 365.6 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4908, allocations: 256 / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.4911, allocations: 94.7 kB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.4918, allocations: 64.97 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4936, allocations: 0.6666 MB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.4939, allocations: 195.8 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.4941, allocations: 38.95 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4942, allocations: 27.44 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.4942, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of Templates: time 0.01221/0.5065, allocations: 3.709 MB / 1.383 GB, free: 9.168 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins/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: 9.87812770344317]