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.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.001491/0.001491, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001639/0.001639, allocations: 186 kB / 22.22 MB, free: 5.105 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 496 MB / 0.7834 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 60.55 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4223, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003672/0.426, allocations: 1.861 MB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.4281, allocations: 1.267 MB / 1.31 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.4283, allocations: 11.94 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.4286, allocations: 75.19 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.4287, allocations: 59.47 kB / 1.311 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.4292, allocations: 175.5 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.4297, allocations: 493 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.4301, allocations: 191.9 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.4303, allocations: 183.2 kB / 1.312 GB, free: 13.49 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.4305, allocations: 199 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.4306, allocations: 52 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.4307, allocations: 52 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4308, allocations: 107.6 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.431, allocations: 214.8 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.4317, allocations: 0.5912 MB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4317, allocations: 3.938 kB / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4317, allocations: 0 / 1.313 GB, free: 12.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.4317, allocations: 0 / 1.313 GB, free: 12.28 MB / 1.014 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.001384/0.4331, allocations: 0.7525 MB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4331, allocations: 8.031 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4332, allocations: 56.61 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.4338, allocations: 290.2 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.4338, allocations: 29.38 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.4339, allocations: 44.38 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/0.4346, allocations: 411.5 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4346, allocations: 192 / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.4347, allocations: 19.94 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.4347, allocations: 12 kB / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.4353, allocations: 287.8 kB / 1.315 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.4375, allocations: 1.319 MB / 1.316 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007483/0.4382, allocations: 246.9 kB / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4384, allocations: 109.9 kB / 1.316 GB, free: 8.586 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4385, allocations: 0 / 1.316 GB, free: 8.586 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.4385, allocations: 38.5 kB / 1.316 GB, free: 8.539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.4385, allocations: 0 / 1.316 GB, free: 8.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.000703/0.4392, allocations: 303.5 kB / 1.316 GB, free: 8.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.4393, allocations: 106.8 kB / 1.317 GB, free: 8.109 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.4398, allocations: 405.6 kB / 1.317 GB, free: 7.703 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4398, allocations: 29.7 kB / 1.317 GB, free: 7.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.4401, allocations: 260.2 kB / 1.317 GB, free: 7.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/0.4401, allocations: 79.31 kB / 1.317 GB, free: 7.332 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.4402, allocations: 66.02 kB / 1.317 GB, free: 7.258 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4404, allocations: 342.8 kB / 1.318 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.4407, allocations: 114.1 kB / 1.318 GB, free: 6.801 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.4411, allocations: 224.2 kB / 1.318 GB, free: 6.543 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.4416, allocations: 269.1 kB / 1.318 GB, free: 6.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4416, allocations: 0 / 1.318 GB, free: 6.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007435/0.4423, allocations: 373.1 kB / 1.319 GB, free: 5.883 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4423, allocations: 4 kB / 1.319 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4423, allocations: 7.984 kB / 1.319 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4424, allocations: 7.938 kB / 1.319 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.4426, allocations: 68.12 kB / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4427, allocations: 4 kB / 1.319 GB, free: 5.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.4429, allocations: 59.7 kB / 1.319 GB, free: 5.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.4429, allocations: 8 kB / 1.319 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002997/0.4432, allocations: 200.8 kB / 1.319 GB, free: 5.527 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002786/0.4435, allocations: 187.3 kB / 1.319 GB, free: 5.305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003547/0.4439, allocations: 225 kB / 1.319 GB, free: 5.059 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.4439, allocations: 3.938 kB / 1.319 GB, free: 5.055 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005482/0.4444, allocations: 323.3 kB / 1.32 GB, free: 4.734 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4444, allocations: 8.219 kB / 1.32 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.4444, allocations: 4 kB / 1.32 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/0.4444, allocations: 4 kB / 1.32 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.4447, allocations: 63.84 kB / 1.32 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4447, allocations: 4 kB / 1.32 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.4449, allocations: 43.77 kB / 1.32 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4449, allocations: 12 kB / 1.32 GB, free: 4.598 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.0001659/0.4451, allocations: 201.5 kB / 1.32 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.4451, allocations: 39.77 kB / 1.32 GB, free: 4.355 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/0.4456, allocations: 240.8 kB / 1.32 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4456, allocations: 4 kB / 1.32 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4456, allocations: 0 / 1.32 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4457, allocations: 3.984 kB / 1.32 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.447, allocations: 0.7598 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.447, allocations: 0 / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4472, allocations: 43.91 kB / 1.321 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4472, allocations: 4.156 kB / 1.321 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4472, allocations: 8 kB / 1.321 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.4472, allocations: 7.984 kB / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4472, allocations: 0 / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.448, allocations: 468.9 kB / 1.322 GB, free: 2.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.4481, allocations: 43.78 kB / 1.322 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.4481, allocations: 8 kB / 1.322 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.4483, allocations: 15.98 kB / 1.322 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.4484, allocations: 27.84 kB / 1.322 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4484, allocations: 11.94 kB / 1.322 GB, free: 2.617 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003363/0.4487, allocations: 287.2 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4487, allocations: 0 / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005212/0.4492, allocations: 127.7 kB / 1.322 GB, free: 2.219 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.0001646/0.4494, allocations: 105.4 kB / 1.322 GB, free: 2.109 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008364/0.4502, allocations: 373.2 kB / 1.323 GB, free: 1.746 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4502, allocations: 0 / 1.323 GB, free: 1.746 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.4504, allocations: 89.02 kB / 1.323 GB, free: 1.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.451, allocations: 79.41 kB / 1.323 GB, free: 1.578 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4524, allocations: 0.6836 MB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.4528, allocations: 0.7957 MB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.453, allocations: 51.42 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.4531, allocations: 27.44 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4531, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Templates: time 0.009074/0.4622, allocations: 3.712 MB / 1.328 GB, free: 12.27 MB / 1.029 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 -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/jenkins/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.676616459153593]