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.001435/0.001435, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001505/0.001505, allocations: 209.3 kB / 22.99 MB, free: 4.957 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.001998/0.001998, allocations: 71.34 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4133, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003467/0.4168, allocations: 1.623 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002539/0.4193, allocations: 1.279 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.4196, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.4199, allocations: 75.19 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.4201, allocations: 71.39 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.4206, allocations: 163.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.4211, allocations: 485 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.4216, allocations: 191.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.4218, allocations: 191.2 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.422, allocations: 195 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/0.4221, allocations: 52 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.4222, allocations: 52 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.4223, allocations: 119.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.4225, allocations: 167.1 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.4232, allocations: 0.5951 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4232, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4232, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.4232, allocations: 0 / 1.332 GB, free: 11.66 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.001435/0.4246, allocations: 0.7525 MB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4247, allocations: 12.03 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.4248, allocations: 52.61 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.4253, allocations: 282.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.4254, allocations: 37.38 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.706e-05/0.4255, allocations: 44.31 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.4263, allocations: 463 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.4263, allocations: 192 / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.4264, allocations: 19.94 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4264, allocations: 8 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.427, allocations: 287.8 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.4292, allocations: 1.14 MB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.43, allocations: 234.9 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4303, allocations: 118.6 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.4303, allocations: 7.938 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.4304, allocations: 34.56 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.445e-06/0.4304, allocations: 0 / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007617/0.4311, allocations: 291.4 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4312, allocations: 106.8 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.4317, allocations: 352.4 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.4318, allocations: 29.7 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.432, allocations: 260 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.4321, allocations: 79.31 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.4323, allocations: 69.98 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.4325, allocations: 342.8 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.4328, allocations: 118.1 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.4333, allocations: 311.2 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.4339, allocations: 268.9 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4339, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007703/0.4346, allocations: 370.9 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.4347, allocations: 4 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4347, allocations: 7.938 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.4347, allocations: 4 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.435, allocations: 71.83 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.435, allocations: 4 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4353, allocations: 51.72 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.4353, allocations: 11.98 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000327/0.4356, allocations: 200.8 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003419/0.436, allocations: 294.7 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000369/0.4363, allocations: 233.1 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.4364, allocations: 0 / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005801/0.4369, allocations: 321.2 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4369, allocations: 8 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.4369, allocations: 0 / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.437, allocations: 4 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.4372, allocations: 59.91 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4372, allocations: 7.938 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4374, allocations: 39.83 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.4375, allocations: 12.22 kB / 1.339 GB, free: 3.938 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.0002298/0.4377, allocations: 208.7 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.4378, allocations: 27.81 kB / 1.34 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.4383, allocations: 234.5 kB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4384, allocations: 7.922 kB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4384, allocations: 0 / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4384, allocations: 4 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4398, allocations: 0.6581 MB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.4398, allocations: 4 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.44, allocations: 43.97 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.44, allocations: 4 kB / 1.341 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.4401, allocations: 12.14 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4401, allocations: 0 / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.4401, allocations: 7.938 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.4409, allocations: 461.4 kB / 1.341 GB, free: 2.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.441, allocations: 35.78 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.441, allocations: 8 kB / 1.341 GB, free: 2.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4412, allocations: 20.17 kB / 1.341 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4413, allocations: 19.91 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4413, allocations: 7.984 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000294/0.4416, allocations: 239.1 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4416, allocations: 4 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005684/0.4421, allocations: 139.5 kB / 1.341 GB, free: 1.73 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.0002286/0.4424, allocations: 107.1 kB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000837/0.4432, allocations: 375.4 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.4432, allocations: 3.938 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.4434, allocations: 92.77 kB / 1.342 GB, free: 1.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.4439, allocations: 65.28 kB / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4454, allocations: 0.6624 MB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.4456, allocations: 195.8 kB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.4458, allocations: 38.95 kB / 1.343 GB, free: 136 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.4459, allocations: 27.44 kB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4459, allocations: 0 / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of Templates: time 0.009265/0.4551, allocations: 3.813 MB / 1.347 GB, free: 12.36 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 cvode -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.510833394000656]