Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001703/0.001703, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.002651/0.002651, allocations: 216 kB / 22.25 MB, free: 5.117 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 8.035 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.631/3.631, allocations: 0.5049 GB / 0.81 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_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_latest_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: 66.64 kB / 1.177 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.407, allocations: 180.2 MB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002315/0.4094, allocations: 0.9782 MB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4106, allocations: 0.9055 MB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.922e-05/0.4107, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.079e-05/0.4107, allocations: 15.8 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.4108, allocations: 19.81 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.411, allocations: 51.94 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.4112, allocations: 152.2 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.4114, allocations: 77.03 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.4115, allocations: 67.72 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.4116, allocations: 67.69 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.4117, allocations: 16 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.4117, allocations: 20 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.4117, allocations: 39.84 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.4118, allocations: 71.67 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.4121, allocations: 211.1 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4121, allocations: 0 / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4121, allocations: 0 / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.4121, allocations: 7.938 kB / 1.356 GB, free: 5.262 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000692/0.4128, allocations: 373.7 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4128, allocations: 16.02 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.4129, allocations: 20.84 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.4131, allocations: 150.3 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4131, allocations: 16.38 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4131, allocations: 12.38 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.4135, allocations: 161.7 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4135, allocations: 192 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.4136, allocations: 11.94 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.4136, allocations: 11.98 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.414, allocations: 143.8 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.4147, allocations: 463.3 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.4152, allocations: 154.5 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4154, allocations: 76.84 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.4154, allocations: 4 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4155, allocations: 38.55 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.4155, allocations: 0 / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006711/0.4161, allocations: 222.7 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4162, allocations: 51.41 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4163, allocations: 125.8 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.4163, allocations: 25.7 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.4164, allocations: 124.3 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.4165, allocations: 47.59 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.4165, allocations: 25.72 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4167, allocations: 318.8 kB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.4168, allocations: 55.95 kB / 1.358 GB, free: 2.488 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.417, allocations: 59.08 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.4174, allocations: 120.8 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4174, allocations: 3.938 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004299/0.4178, allocations: 177.4 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4178, allocations: 4 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4178, allocations: 0 / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4178, allocations: 3.938 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.418, allocations: 39.97 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.418, allocations: 4 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/0.4181, allocations: 19.92 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.4181, allocations: 0 / 1.359 GB, free: 2.059 MB / 1.045 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.0001178/0.4182, allocations: 137.7 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.4183, allocations: 11.91 kB / 1.359 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.4183, allocations: 16.44 kB / 1.359 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4183, allocations: 4 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4183, allocations: 0 / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4183, allocations: 3.984 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.4186, allocations: 208.6 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4186, allocations: 0 / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.4188, allocations: 43.97 kB / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4188, allocations: 0 / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4188, allocations: 0 / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4188, allocations: 0 / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4188, allocations: 0 / 1.359 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.4193, allocations: 273.7 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.4193, allocations: 19.88 kB / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.4193, allocations: 0 / 1.36 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4194, allocations: 15.98 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.4195, allocations: 7.984 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4195, allocations: 0 / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.4196, allocations: 99.27 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4196, allocations: 0 / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002463/0.4198, allocations: 27.95 kB / 1.36 GB, free: 1.141 MB / 1.045 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.0001334/0.4199, allocations: 103.2 kB / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4204, allocations: 131.8 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4204, allocations: 0 / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.4206, allocations: 75.83 kB / 1.36 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.4209, allocations: 25.8 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.4216, allocations: 266.8 kB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.4219, allocations: 0.7119 MB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.354e-05/0.422, allocations: 12.34 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.422, allocations: 19.44 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.422, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of Templates: time 0.004403/0.4264, allocations: 1.239 MB / 1.362 GB, free: 14.57 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.992936691269279]