Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001481/0.001481, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] 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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_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_12_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.002117/0.002117, allocations: 68.55 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003247/0.3757, allocations: 1.627 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3778, allocations: 1.279 MB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.378, allocations: 11.94 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.3782, allocations: 75.19 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.3784, allocations: 51.47 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.3788, allocations: 175.7 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.3793, allocations: 485 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.3797, allocations: 191.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.3799, allocations: 187.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.3802, allocations: 191 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.3803, allocations: 52 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.3803, allocations: 55.94 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3804, allocations: 111.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3806, allocations: 167.1 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.3813, allocations: 0.599 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3813, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3813, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.3813, allocations: 0 / 1.332 GB, free: 11.7 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001409/0.3827, allocations: 0.7525 MB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3828, allocations: 12.03 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.3829, allocations: 56.61 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.3835, allocations: 286.2 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.3835, allocations: 29.38 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.3836, allocations: 40.38 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.3845, allocations: 459 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3845, allocations: 8.125 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.3846, allocations: 19.94 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3846, allocations: 12 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.3852, allocations: 279.8 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.3871, allocations: 1.144 MB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.3879, allocations: 252.5 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.3881, allocations: 110.4 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3882, allocations: 4 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3882, allocations: 30.56 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.3882, allocations: 0 / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007142/0.3889, allocations: 294.8 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.389, allocations: 114.7 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.3895, allocations: 348.4 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3895, allocations: 25.7 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3897, allocations: 260 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.3898, allocations: 79.3 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3899, allocations: 73.97 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3901, allocations: 338.8 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3903, allocations: 118.1 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.3907, allocations: 307.2 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.3912, allocations: 272.9 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3912, allocations: 4 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007355/0.392, allocations: 357.1 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.392, allocations: 8 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.392, allocations: 8.219 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.392, allocations: 0 / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.3923, allocations: 83.77 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3923, allocations: 4 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3926, allocations: 51.7 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3926, allocations: 12 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002739/0.3929, allocations: 196.8 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000349/0.3932, allocations: 290.8 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003445/0.3936, allocations: 229.5 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.3936, allocations: 4 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005286/0.3941, allocations: 315.2 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.056e-06/0.3941, allocations: 4 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3941, allocations: 4 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.3941, allocations: 4 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3944, allocations: 67.84 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3944, allocations: 7.938 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3946, allocations: 35.83 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3946, allocations: 12 kB / 1.339 GB, free: 3.977 MB / 1.029 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.0001606/0.3947, allocations: 208.9 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.3948, allocations: 35.73 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/0.3954, allocations: 236.5 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3954, allocations: 3.938 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3954, allocations: 0 / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3954, allocations: 0 / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.3967, allocations: 0.6681 MB / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3967, allocations: 0 / 1.34 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.3969, allocations: 47.91 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3969, allocations: 4 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.397, allocations: 8 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.397, allocations: 0 / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.397, allocations: 8.156 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.3977, allocations: 453.4 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.3978, allocations: 43.78 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.3978, allocations: 4 kB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.398, allocations: 15.98 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.398, allocations: 23.97 kB / 1.341 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3981, allocations: 4 kB / 1.341 GB, free: 2.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002681/0.3983, allocations: 239.1 kB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3983, allocations: 0 / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005206/0.3988, allocations: 147.5 kB / 1.341 GB, free: 1.762 MB / 1.029 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.0001408/0.399, allocations: 111.1 kB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008153/0.3998, allocations: 377.3 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3998, allocations: 0 / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4, allocations: 89.08 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.4005, allocations: 70.55 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4018, allocations: 0.6585 MB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.402, allocations: 199.8 kB / 1.343 GB, free: 212 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.4022, allocations: 38.89 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.4023, allocations: 27.44 kB / 1.343 GB, free: 144 kB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.4023, allocations: 4 kB / 1.343 GB, free: 140 kB / 1.029 GB Notification: Performance of Templates: time 0.008715/0.411, allocations: 3.803 MB / 1.347 GB, free: 12.39 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.264239926997107]