Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.001345/0.001345, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001507/0.001507, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.651/1.651, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.354/3.354, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [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.002105/0.002105, allocations: 71.33 kB / 1.155 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.452, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.00262/0.4547, allocations: 0.901 MB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.456, allocations: 0.9016 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.4561, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.469e-05/0.4561, allocations: 15.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.4562, allocations: 19.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.4563, allocations: 47.95 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.4566, allocations: 156.2 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.4568, allocations: 77.69 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.4569, allocations: 63.78 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.457, allocations: 67.69 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.4571, allocations: 16 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.4571, allocations: 20 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.4571, allocations: 35.86 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.4572, allocations: 63.64 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.4575, allocations: 219.1 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4575, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4575, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.4575, allocations: 0 / 1.33 GB, free: 14.38 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007746/0.4583, allocations: 377.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4583, allocations: 8.031 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.4584, allocations: 16.84 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4587, allocations: 150.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4587, allocations: 12.38 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.4587, allocations: 24.31 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.4592, allocations: 166.3 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4592, allocations: 192 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.4592, allocations: 11.92 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4592, allocations: 8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.4596, allocations: 143.9 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.4604, allocations: 403.7 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.4609, allocations: 150.6 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.4611, allocations: 80.75 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4612, allocations: 11.88 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4612, allocations: 30.56 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.4612, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006985/0.4619, allocations: 217.5 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.462, allocations: 51.41 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.4621, allocations: 125.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4621, allocations: 25.7 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.4622, allocations: 124.3 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.4623, allocations: 47.62 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.4623, allocations: 21.72 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4625, allocations: 322.8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4627, allocations: 51.95 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.4628, allocations: 69.89 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.4632, allocations: 120.8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4632, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004283/0.4636, allocations: 170.5 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4636, allocations: 8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4636, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4637, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4639, allocations: 39.91 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4639, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.464, allocations: 19.92 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.464, allocations: 4 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001269/0.4641, allocations: 126.3 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.4641, allocations: 15.89 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.4642, allocations: 16.44 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4642, allocations: 3.984 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4642, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4642, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4644, allocations: 157.2 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4644, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.4646, allocations: 39.86 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4646, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4646, allocations: 11.92 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4646, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4646, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.4651, allocations: 261.2 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.4652, allocations: 19.83 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4652, allocations: 4 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4653, allocations: 15.98 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4654, allocations: 19.97 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4654, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.4655, allocations: 91.27 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4655, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002475/0.4657, allocations: 31.89 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (14): * Single equations (assignments): 14 * 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.0001487/0.4659, allocations: 103.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.4663, allocations: 131.8 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.4663, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4665, allocations: 59.95 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.4669, allocations: 15.98 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.4676, allocations: 289.5 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4677, allocations: 97.61 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.25e-05/0.4677, allocations: 16.34 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.4678, allocations: 15.44 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4678, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of Templates: time 0.004696/0.4725, allocations: 1.314 MB / 1.335 GB, free: 8.367 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.624097829000675]