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.001358/0.001358, allocations: 110.2 kB / 19.69 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.002113/0.002113, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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.379/3.379, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 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.00299/0.00299, allocations: 61.03 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3935, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003255/0.3968, allocations: 1.837 MB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3989, allocations: 1.299 MB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.3991, allocations: 8 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3994, allocations: 71.2 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3995, allocations: 63.39 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3999, allocations: 175.6 kB / 1.358 GB, free: 4.453 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005463/0.4005, allocations: 489 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.4008, allocations: 191.9 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.4011, allocations: 191.2 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.4013, allocations: 195 kB / 1.359 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.4014, allocations: 52 kB / 1.359 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.4014, allocations: 52 kB / 1.359 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.4015, allocations: 111.6 kB / 1.359 GB, free: 3.188 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.4017, allocations: 210.9 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.4024, allocations: 0.5912 MB / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4024, allocations: 0 / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4024, allocations: 0 / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.4024, allocations: 4 kB / 1.36 GB, free: 2.383 MB / 1.045 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.001452/0.4039, allocations: 0.7486 MB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4039, allocations: 16.03 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.404, allocations: 56.61 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.4046, allocations: 282.2 kB / 1.361 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.4047, allocations: 37.31 kB / 1.361 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.4047, allocations: 40.38 kB / 1.361 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.4055, allocations: 407.6 kB / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4055, allocations: 8.109 kB / 1.361 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.4055, allocations: 19.94 kB / 1.361 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4056, allocations: 12 kB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.4062, allocations: 283.8 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.4084, allocations: 1.323 MB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007363/0.4091, allocations: 234.8 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.4094, allocations: 120.8 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.4094, allocations: 7.984 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4095, allocations: 34.56 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.4095, allocations: 0 / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0007266/0.4102, allocations: 303.3 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.4103, allocations: 106.8 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.4108, allocations: 405.6 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4108, allocations: 33.7 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.411, allocations: 248.2 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.4111, allocations: 83.27 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.4112, allocations: 66.03 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4114, allocations: 346.8 kB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.4116, allocations: 122 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.412, allocations: 204.3 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.4125, allocations: 285.1 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4125, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000745/0.4133, allocations: 362.9 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4133, allocations: 8 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4133, allocations: 0 / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.4133, allocations: 7.938 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.4136, allocations: 71.89 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4137, allocations: 7.984 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.4139, allocations: 63.81 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.4139, allocations: 8 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003049/0.4142, allocations: 208.6 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000254/0.4145, allocations: 183.4 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003436/0.4148, allocations: 241.1 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.4148, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005877/0.4154, allocations: 313.2 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.4154, allocations: 4 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4154, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.4154, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.4157, allocations: 67.84 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4157, allocations: 8.219 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4159, allocations: 39.77 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4159, allocations: 12 kB / 1.367 GB, free: 10.68 MB / 1.061 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.0001793/0.4161, allocations: 197.5 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.4162, allocations: 43.69 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.4167, allocations: 242.8 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4167, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4167, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4167, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.4181, allocations: 0.7628 MB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4181, allocations: 0 / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.4183, allocations: 43.97 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4183, allocations: 4 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4183, allocations: 4 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4183, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4183, allocations: 7.938 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/0.4191, allocations: 469.3 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4192, allocations: 47.75 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.4193, allocations: 4 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.4195, allocations: 23.97 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.4196, allocations: 19.86 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.4196, allocations: 7.984 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003581/0.42, allocations: 287.2 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.42, allocations: 0 / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005367/0.4205, allocations: 127.7 kB / 1.369 GB, free: 8.297 MB / 1.061 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.0001714/0.4207, allocations: 107.2 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008353/0.4215, allocations: 367.5 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4215, allocations: 0 / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.4217, allocations: 93.52 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.4222, allocations: 71.19 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4236, allocations: 0.6992 MB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.4241, allocations: 0.7957 MB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4242, allocations: 39.36 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of SimCode: time 9.31e-07/0.4242, allocations: 0 / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of Templates: time 0.008073/0.4323, allocations: 4.364 MB / 1.375 GB, free: 1.699 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 11.7895865800092]