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.001675/0.001675, allocations: 102.3 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.00204/0.00204, allocations: 217.6 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.103/3.103, allocations: 0.49 GB / 0.7958 GB, free: 33.44 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.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.002025/0.002025, allocations: 69.39 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3448, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003212/0.348, allocations: 1.857 MB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3499, allocations: 1.299 MB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3501, allocations: 11.94 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.3503, allocations: 71.2 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3505, allocations: 55.47 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.3509, allocations: 179.6 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.3514, allocations: 489 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.3517, allocations: 195.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.3519, allocations: 183.3 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.3522, allocations: 195 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.042e-05/0.3522, allocations: 55.98 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.3523, allocations: 56 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3524, allocations: 111.6 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3526, allocations: 210.8 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006415/0.3532, allocations: 0.5873 MB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3532, allocations: 3.938 kB / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3532, allocations: 0 / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3532, allocations: 3.938 kB / 1.333 GB, free: 11.87 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.001323/0.3546, allocations: 0.7616 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3546, allocations: 8.031 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.3547, allocations: 52.61 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.3552, allocations: 282.3 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3553, allocations: 37.38 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.3553, allocations: 36.38 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.356, allocations: 411.5 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.356, allocations: 192 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.3561, allocations: 23.94 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3561, allocations: 8 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.3567, allocations: 283.8 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.3588, allocations: 1.323 MB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.3595, allocations: 234.9 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.3597, allocations: 112.8 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.3598, allocations: 7.953 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3598, allocations: 38.56 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.3598, allocations: 4 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007128/0.3605, allocations: 299.2 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.3606, allocations: 106.8 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.3611, allocations: 409.6 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.3611, allocations: 25.7 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.3613, allocations: 256.2 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.3614, allocations: 83.3 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3615, allocations: 69.98 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3617, allocations: 346.8 kB / 1.338 GB, free: 6.492 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3619, allocations: 118 kB / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.3623, allocations: 204.3 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.3628, allocations: 276.5 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3628, allocations: 4 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007188/0.3635, allocations: 363.3 kB / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3635, allocations: 8 kB / 1.339 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3635, allocations: 0 / 1.339 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3636, allocations: 12.16 kB / 1.339 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.3638, allocations: 75.89 kB / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3639, allocations: 7.938 kB / 1.339 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.3641, allocations: 51.75 kB / 1.339 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.3641, allocations: 19.92 kB / 1.339 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002787/0.3644, allocations: 200.8 kB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002537/0.3647, allocations: 199.9 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003287/0.365, allocations: 223.6 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.365, allocations: 3.938 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005522/0.3655, allocations: 318.7 kB / 1.34 GB, free: 4.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.3656, allocations: 4 kB / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3656, allocations: 4 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.3656, allocations: 4 kB / 1.34 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3658, allocations: 67.84 kB / 1.34 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3658, allocations: 4 kB / 1.34 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.366, allocations: 39.75 kB / 1.34 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.366, allocations: 12 kB / 1.34 GB, free: 4.172 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.0001409/0.3662, allocations: 200.8 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.3662, allocations: 39.75 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.3667, allocations: 242.5 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3667, allocations: 0 / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3668, allocations: 0 / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3668, allocations: 0 / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.368, allocations: 0.7647 MB / 1.341 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.368, allocations: 0 / 1.341 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3683, allocations: 52.06 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3683, allocations: 0 / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3683, allocations: 8 kB / 1.341 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.3683, allocations: 8 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3683, allocations: 0 / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.369, allocations: 463.2 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.3691, allocations: 39.8 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3691, allocations: 8 kB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3693, allocations: 23.97 kB / 1.341 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.3694, allocations: 15.92 kB / 1.342 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3694, allocations: 11.98 kB / 1.342 GB, free: 2.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003434/0.3697, allocations: 279.2 kB / 1.342 GB, free: 1.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3697, allocations: 0 / 1.342 GB, free: 1.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005127/0.3702, allocations: 135.6 kB / 1.342 GB, free: 1.805 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.0001592/0.3704, allocations: 119.1 kB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008285/0.3712, allocations: 358.1 kB / 1.342 GB, free: 1.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3712, allocations: 0.875 kB / 1.342 GB, free: 1.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.3714, allocations: 96.14 kB / 1.342 GB, free: 1.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.372, allocations: 70.59 kB / 1.343 GB, free: 1.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3733, allocations: 0.6992 MB / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3737, allocations: 0.8112 MB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3738, allocations: 35.42 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of SimCode: time 3.5e-07/0.3738, allocations: 4 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of Templates: time 0.007079/0.3809, allocations: 4.356 MB / 1.348 GB, free: 11.2 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 -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: 11.334012244013138]