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.001299/0.001299, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001411/0.001411, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.804/2.804, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002371/0.002371, allocations: 67.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00297/1.083, allocations: 1.625 MB / 1.156 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001547/1.084, allocations: 1.277 MB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/1.085, allocations: 9.5 kB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/1.085, allocations: 80.58 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/1.085, allocations: 56.2 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/1.085, allocations: 172.6 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/1.086, allocations: 491.4 kB / 1.158 GB, free: 30.81 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/1.086, allocations: 182.1 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/1.086, allocations: 181.3 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/1.086, allocations: 172.8 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/1.087, allocations: 54.22 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/1.087, allocations: 53.22 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/1.087, allocations: 109.9 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/1.087, allocations: 173.2 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/1.087, allocations: 0.5891 MB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.087, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.714e-06/1.087, allocations: 2.875 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.41e-05/1.087, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 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.001113/1.088, allocations: 0.7506 MB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.088, allocations: 10.94 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/1.088, allocations: 51.61 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/1.089, allocations: 285.8 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/1.089, allocations: 34.59 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/1.089, allocations: 38.91 kB / 1.16 GB, free: 29.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/1.09, allocations: 466.6 kB / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.09, allocations: 192 / 1.161 GB, free: 28.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/1.09, allocations: 19.09 kB / 1.161 GB, free: 28.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.09, allocations: 8.781 kB / 1.161 GB, free: 28.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/1.09, allocations: 286.2 kB / 1.161 GB, free: 28.88 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/1.092, allocations: 1.139 MB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006931/1.093, allocations: 244.2 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/1.093, allocations: 113.2 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/1.093, allocations: 2.875 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/1.093, allocations: 33.38 kB / 1.162 GB, free: 27.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/1.093, allocations: 0 / 1.162 GB, free: 27.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006704/1.093, allocations: 297.8 kB / 1.163 GB, free: 27.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.093, allocations: 109.7 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/1.094, allocations: 346.1 kB / 1.163 GB, free: 27.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.094, allocations: 28.05 kB / 1.163 GB, free: 27.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/1.094, allocations: 268.5 kB / 1.163 GB, free: 27.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/1.094, allocations: 70.69 kB / 1.163 GB, free: 27.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/1.094, allocations: 74.22 kB / 1.164 GB, free: 27.13 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/1.094, allocations: 348.8 kB / 1.164 GB, free: 26.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.094, allocations: 112.1 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/1.095, allocations: 310.2 kB / 1.164 GB, free: 26.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/1.095, allocations: 274.2 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.095, allocations: 2.688 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005957/1.096, allocations: 362.8 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.096, allocations: 5.438 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.096, allocations: 2.906 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.096, allocations: 2.719 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/1.096, allocations: 76.62 kB / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/1.096, allocations: 2.438 kB / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/1.096, allocations: 54.03 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.096, allocations: 15.81 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002187/1.096, allocations: 198.9 kB / 1.165 GB, free: 25.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002024/1.097, allocations: 294.2 kB / 1.166 GB, free: 25.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002685/1.097, allocations: 233.6 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/1.097, allocations: 6.688 kB / 1.166 GB, free: 25.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004398/1.097, allocations: 309.8 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/1.097, allocations: 5.219 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/1.097, allocations: 2.5 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/1.097, allocations: 5.156 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.098, allocations: 61.91 kB / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/1.098, allocations: 6.562 kB / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/1.098, allocations: 40.84 kB / 1.166 GB, free: 25.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/1.098, allocations: 12.53 kB / 1.166 GB, free: 25.36 MB / 1.076 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 9.59e-05/1.098, allocations: 204.6 kB / 1.166 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/1.098, allocations: 28.12 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/1.098, allocations: 234.5 kB / 1.167 GB, free: 25.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.098, allocations: 10.56 kB / 1.167 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.098, allocations: 4 kB / 1.167 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/1.098, allocations: 6.266 kB / 1.167 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/1.099, allocations: 0.6528 MB / 1.167 GB, free: 24.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.099, allocations: 5.953 kB / 1.167 GB, free: 24.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/1.1, allocations: 46.34 kB / 1.167 GB, free: 24.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.1, allocations: 2.625 kB / 1.167 GB, free: 24.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.1, allocations: 6.625 kB / 1.167 GB, free: 24.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.1, allocations: 6.562 kB / 1.167 GB, free: 24.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.1, allocations: 2.625 kB / 1.167 GB, free: 24.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/1.1, allocations: 455.9 kB / 1.168 GB, free: 24.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/1.1, allocations: 45.67 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/1.1, allocations: 2.625 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.101, allocations: 21.38 kB / 1.168 GB, free: 24.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.101, allocations: 19.19 kB / 1.168 GB, free: 24.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.101, allocations: 8.531 kB / 1.168 GB, free: 24.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002004/1.101, allocations: 236.6 kB / 1.168 GB, free: 24.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.101, allocations: 0 / 1.168 GB, free: 24.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000507/1.101, allocations: 142.3 kB / 1.168 GB, free: 24.07 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.0001349/1.101, allocations: 120.9 kB / 1.168 GB, free: 23.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007012/1.102, allocations: 361.3 kB / 1.169 GB, free: 23.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.102, allocations: 0.875 kB / 1.169 GB, free: 23.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/1.102, allocations: 97.56 kB / 1.169 GB, free: 23.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/1.103, allocations: 58.64 kB / 1.169 GB, free: 23.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.104, allocations: 0.6713 MB / 1.169 GB, free: 23.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/1.104, allocations: 197.3 kB / 1.17 GB, free: 23.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001411/1.104, allocations: 45.11 kB / 1.17 GB, free: 23.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/1.104, allocations: 26.34 kB / 1.17 GB, free: 23.25 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/1.104, allocations: 0 / 1.17 GB, free: 23.25 MB / 1.076 GB Notification: Performance of Templates: time 0.008347/1.113, allocations: 3.432 MB / 1.173 GB, free: 22.81 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.118532966938801]