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.001811/0.001811, allocations: 81.86 kB / 19.76 MB, free: 2.027 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.002333/0.002333, allocations: 159.7 kB / 23.01 MB, free: 4.961 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.002/3.002, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 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.002064/0.002064, allocations: 71.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.091, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002969/1.094, allocations: 1.63 MB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001717/1.095, allocations: 1.282 MB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/1.095, allocations: 11.84 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/1.096, allocations: 73.77 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/1.096, allocations: 60.17 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/1.096, allocations: 169.1 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004801/1.097, allocations: 484.9 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/1.097, allocations: 189.4 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/1.097, allocations: 184.2 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/1.097, allocations: 170.2 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/1.098, allocations: 56.78 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/1.098, allocations: 52.66 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/1.098, allocations: 104.4 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/1.098, allocations: 173.2 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006622/1.098, allocations: 0.5918 MB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.098, allocations: 4 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.525e-06/1.098, allocations: 1.375 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.099, allocations: 4 kB / 1.192 GB, free: 12.93 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.001265/1.1, allocations: 0.7399 MB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.1, allocations: 9.875 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/1.1, allocations: 57.75 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/1.1, allocations: 294.1 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/1.1, allocations: 29.69 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/1.1, allocations: 39.03 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/1.101, allocations: 460.2 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/1.101, allocations: 1.438 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.101, allocations: 23.92 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/1.101, allocations: 10.56 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/1.102, allocations: 281.3 kB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/1.104, allocations: 1.136 MB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/1.105, allocations: 237.7 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/1.105, allocations: 110.2 kB / 1.195 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/1.105, allocations: 4.438 kB / 1.195 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.105, allocations: 36.34 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/1.105, allocations: 0.8125 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006835/1.106, allocations: 286.1 kB / 1.195 GB, free: 10.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.106, allocations: 118.4 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/1.106, allocations: 340.4 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.106, allocations: 36.61 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.106, allocations: 275.3 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/1.106, allocations: 70.11 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.106, allocations: 66.89 kB / 1.196 GB, free: 10.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.106, allocations: 339.7 kB / 1.197 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/1.107, allocations: 118.4 kB / 1.197 GB, free: 9.656 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/1.107, allocations: 307.8 kB / 1.197 GB, free: 9.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/1.107, allocations: 277.9 kB / 1.197 GB, free: 9.215 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.107, allocations: 1.406 kB / 1.197 GB, free: 9.215 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006582/1.108, allocations: 369.3 kB / 1.198 GB, free: 9.051 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.108, allocations: 5.766 kB / 1.198 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/1.108, allocations: 2.625 kB / 1.198 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.108, allocations: 7.219 kB / 1.198 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/1.108, allocations: 76.64 kB / 1.198 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.108, allocations: 5.016 kB / 1.198 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/1.109, allocations: 49.16 kB / 1.198 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/1.109, allocations: 10.91 kB / 1.198 GB, free: 9.012 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002412/1.109, allocations: 202.1 kB / 1.198 GB, free: 8.875 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002163/1.109, allocations: 291.6 kB / 1.198 GB, free: 8.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002908/1.109, allocations: 236.3 kB / 1.198 GB, free: 8.434 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.109, allocations: 1.375 kB / 1.198 GB, free: 8.434 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004588/1.11, allocations: 310 kB / 1.199 GB, free: 8.285 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.11, allocations: 6.656 kB / 1.199 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/1.11, allocations: 10.31 kB / 1.199 GB, free: 8.277 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/1.11, allocations: 3.656 kB / 1.199 GB, free: 8.277 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/1.11, allocations: 63.62 kB / 1.199 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.11, allocations: 8.172 kB / 1.199 GB, free: 8.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/1.11, allocations: 32.94 kB / 1.199 GB, free: 8.254 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.11, allocations: 12.66 kB / 1.199 GB, free: 8.25 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.143e-05/1.11, allocations: 201.1 kB / 1.199 GB, free: 8.055 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/1.111, allocations: 29.59 kB / 1.199 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/1.111, allocations: 240.9 kB / 1.199 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.111, allocations: 5.969 kB / 1.199 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.111, allocations: 0 / 1.199 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.111, allocations: 2.406 kB / 1.199 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/1.112, allocations: 0.6575 MB / 1.2 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.112, allocations: 2.719 kB / 1.2 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/1.112, allocations: 46.77 kB / 1.2 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/1.112, allocations: 2.188 kB / 1.2 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/1.112, allocations: 8.234 kB / 1.2 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.112, allocations: 2.562 kB / 1.2 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.112, allocations: 2.578 kB / 1.2 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/1.113, allocations: 454.2 kB / 1.2 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/1.113, allocations: 36.42 kB / 1.2 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/1.113, allocations: 7.969 kB / 1.2 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.113, allocations: 19.41 kB / 1.201 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/1.113, allocations: 12.59 kB / 1.201 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/1.113, allocations: 14.95 kB / 1.201 GB, free: 7.156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002374/1.114, allocations: 236 kB / 1.201 GB, free: 7.027 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.114, allocations: 4 kB / 1.201 GB, free: 7.023 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005038/1.114, allocations: 148.9 kB / 1.201 GB, free: 6.969 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.0001139/1.114, allocations: 117.1 kB / 1.201 GB, free: 6.863 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007533/1.115, allocations: 368.3 kB / 1.201 GB, free: 6.742 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.115, allocations: 5.453 kB / 1.201 GB, free: 6.738 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.115, allocations: 94.69 kB / 1.201 GB, free: 6.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/1.116, allocations: 70.66 kB / 1.202 GB, free: 6.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.117, allocations: 0.6668 MB / 1.202 GB, free: 6.246 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/1.117, allocations: 203.3 kB / 1.202 GB, free: 6.156 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001537/1.117, allocations: 32.84 kB / 1.202 GB, free: 6.148 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/1.117, allocations: 32.06 kB / 1.202 GB, free: 6.137 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.117, allocations: 0 / 1.202 GB, free: 6.137 MB / 1.076 GB Notification: Performance of Templates: time 0.008907/1.126, allocations: 3.427 MB / 1.206 GB, free: 5.68 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 -s ida -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/jenkins1/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.691201120032929]