Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00257/0.00257, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 72.03 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00411/1.165, allocations: 1.861 MB / 1.274 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002259/1.167, allocations: 1.262 MB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/1.168, allocations: 6.688 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/1.168, allocations: 75.06 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/1.168, allocations: 62.2 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/1.169, allocations: 174 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005459/1.169, allocations: 492.1 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/1.17, allocations: 188.1 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/1.17, allocations: 184.4 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/1.17, allocations: 192.6 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/1.17, allocations: 52.91 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/1.17, allocations: 52.88 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/1.17, allocations: 114.7 kB / 1.277 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/1.17, allocations: 210.9 kB / 1.277 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/1.171, allocations: 0.59 MB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.171, allocations: 1 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.171, allocations: 4 kB / 1.277 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.171, allocations: 0 / 1.277 GB, free: 4.355 MB / 0.9981 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.001321/1.172, allocations: 0.7405 MB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.173, allocations: 9.656 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/1.173, allocations: 54.09 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/1.173, allocations: 353.5 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/1.173, allocations: 37.19 kB / 1.279 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.48e-05/1.173, allocations: 39.78 kB / 1.279 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/1.174, allocations: 416.9 kB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.175, allocations: 192 / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/1.175, allocations: 20.47 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/1.175, allocations: 9.781 kB / 1.279 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/1.175, allocations: 281.3 kB / 1.279 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/1.179, allocations: 1.37 MB / 1.281 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.18, allocations: 235.9 kB / 1.281 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/1.18, allocations: 121.9 kB / 1.281 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/1.18, allocations: 3.641 kB / 1.281 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.18, allocations: 33.08 kB / 1.281 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.635e-06/1.18, allocations: 0 / 1.281 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001035/1.181, allocations: 302.8 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/1.181, allocations: 106.2 kB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/1.182, allocations: 407 kB / 1.282 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/1.182, allocations: 33.17 kB / 1.282 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/1.182, allocations: 254.9 kB / 1.282 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/1.182, allocations: 81.2 kB / 1.282 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.183, allocations: 64.06 kB / 1.282 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.183, allocations: 350.9 kB / 1.282 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.183, allocations: 118.5 kB / 1.283 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/1.183, allocations: 206.4 kB / 1.283 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/1.184, allocations: 287.3 kB / 1.283 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.184, allocations: 0 / 1.283 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007947/1.185, allocations: 370.9 kB / 1.283 GB, free: 372 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.185, allocations: 7.344 kB / 1.283 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.185, allocations: 1.938 kB / 1.283 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/1.185, allocations: 9.891 kB / 1.283 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/1.185, allocations: 71.88 kB / 1.284 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.185, allocations: 3.625 kB / 1.284 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/1.185, allocations: 56.23 kB / 1.284 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/1.186, allocations: 9.703 kB / 1.284 GB, free: 332 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000294/1.186, allocations: 205.9 kB / 1.284 GB, free: 188 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002674/1.186, allocations: 187.9 kB / 1.284 GB, free: 32 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004553/1.187, allocations: 232.4 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/1.187, allocations: 0 / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006259/1.187, allocations: 317 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.187, allocations: 4.438 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.187, allocations: 3.891 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/1.187, allocations: 5.75 kB / 1.285 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/1.187, allocations: 69.05 kB / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/1.187, allocations: 4.734 kB / 1.285 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/1.188, allocations: 39.23 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/1.188, allocations: 14.16 kB / 1.285 GB, free: 15.68 MB / 1.014 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.0002257/1.188, allocations: 198.6 kB / 1.285 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/1.188, allocations: 38.19 kB / 1.285 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/1.189, allocations: 240.2 kB / 1.285 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.189, allocations: 2.344 kB / 1.285 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.189, allocations: 0 / 1.285 GB, free: 15.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.189, allocations: 11.12 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/1.19, allocations: 0.7873 MB / 1.286 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.19, allocations: 4.094 kB / 1.286 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/1.191, allocations: 43.3 kB / 1.286 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.191, allocations: 7.734 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.191, allocations: 4.391 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.191, allocations: 0.7969 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.191, allocations: 9.219 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/1.192, allocations: 468.5 kB / 1.286 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.192, allocations: 120.9 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/1.192, allocations: 2.656 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/1.192, allocations: 19.97 kB / 1.287 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/1.192, allocations: 22.91 kB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/1.192, allocations: 14.2 kB / 1.287 GB, free: 14.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004017/1.192, allocations: 284.4 kB / 1.287 GB, free: 14.21 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.192, allocations: 0 / 1.287 GB, free: 14.21 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005725/1.193, allocations: 129.8 kB / 1.287 GB, free: 14.17 MB / 1.014 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.0002393/1.193, allocations: 110.4 kB / 1.287 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009112/1.194, allocations: 365.9 kB / 1.287 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.194, allocations: 3.094 kB / 1.287 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/1.194, allocations: 90.34 kB / 1.287 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/1.195, allocations: 78.69 kB / 1.288 GB, free: 13.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.197, allocations: 0.6919 MB / 1.288 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/1.197, allocations: 0.8048 MB / 1.289 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001955/1.197, allocations: 40.75 kB / 1.289 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.195e-05/1.197, allocations: 28.91 kB / 1.289 GB, free: 12.74 MB / 1.014 GB Notification: Performance of SimCode: time 1.473e-06/1.197, allocations: 0 / 1.289 GB, free: 12.74 MB / 1.014 GB Notification: Performance of Templates: time 0.01027/1.208, allocations: 3.63 MB / 1.293 GB, free: 12.47 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.995167318731546]