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.00181/0.00181, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002403/0.002403, allocations: 210.8 kB / 22.25 MB, free: 5.129 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.992 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.386/3.386, allocations: 0.49 GB / 0.7951 GB, free: 33.54 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.002081/0.002081, allocations: 68.11 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002473/0.4143, allocations: 0.9726 MB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.4156, allocations: 0.9055 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4157, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.865e-05/0.4158, allocations: 15.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.4159, allocations: 15.8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.4161, allocations: 59.94 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.4163, allocations: 156.2 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.4166, allocations: 74.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.4167, allocations: 63.78 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.4168, allocations: 71.62 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.4169, allocations: 19.94 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-05/0.4169, allocations: 20 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.4169, allocations: 31.92 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.417, allocations: 71.59 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.4174, allocations: 211.1 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4174, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4174, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.4174, allocations: 0 / 1.329 GB, free: 14.77 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.0009793/0.4184, allocations: 373.8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4184, allocations: 8.031 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.4185, allocations: 16.84 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.4188, allocations: 162.3 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4188, allocations: 12.38 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.4188, allocations: 12.38 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.4193, allocations: 166.3 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4193, allocations: 192 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.4193, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4194, allocations: 7.984 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.4198, allocations: 151.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.4207, allocations: 475 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.4213, allocations: 159.8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.4215, allocations: 80.78 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4215, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.4215, allocations: 34.56 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4215, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0007159/0.4223, allocations: 220.5 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4223, allocations: 55.41 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4224, allocations: 113.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4225, allocations: 33.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.4225, allocations: 124.3 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.4226, allocations: 47.58 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.4226, allocations: 25.72 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4228, allocations: 318.8 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.423, allocations: 51.95 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.4231, allocations: 60.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.4235, allocations: 124.8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4235, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004104/0.4239, allocations: 165.5 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4239, allocations: 8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4239, allocations: 3.984 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4239, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.4241, allocations: 31.98 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4241, allocations: 11.92 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.4242, allocations: 15.98 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4243, allocations: 4 kB / 1.332 GB, free: 11.56 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.000124/0.4244, allocations: 138.2 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4244, allocations: 7.953 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.4244, allocations: 12.44 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4244, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4245, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4245, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4248, allocations: 212.5 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4248, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.4249, allocations: 35.97 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.425, allocations: 8 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.425, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.425, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.425, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.4255, allocations: 269.5 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.4255, allocations: 23.88 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4255, allocations: 4 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.4256, allocations: 11.98 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.4257, allocations: 11.98 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.4257, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.473e-05/0.4258, allocations: 103.6 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4258, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002578/0.4261, allocations: 23.95 kB / 1.333 GB, free: 10.63 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.000187/0.4263, allocations: 111.2 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.4268, allocations: 131.9 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4268, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.427, allocations: 67.89 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4274, allocations: 21.66 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.4281, allocations: 270.7 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4285, allocations: 0.7119 MB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.139e-05/0.4286, allocations: 16.33 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.4286, allocations: 15.44 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4286, allocations: 0 / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of Templates: time 0.004582/0.4332, allocations: 1.237 MB / 1.335 GB, free: 8.051 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 -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/jenkins/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.652343143243343]