Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001366/0.001366, 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.001549/0.001549, allocations: 212.6 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.395/3.395, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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: 72.72 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4006, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002949/0.4036, allocations: 1.204 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.405, allocations: 1.034 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.4051, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.814e-05/0.4052, allocations: 27.61 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.4054, allocations: 35.67 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.4055, allocations: 119.9 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.4059, allocations: 356.3 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.4062, allocations: 174.4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.4064, allocations: 123.6 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.4066, allocations: 139.4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/0.4066, allocations: 44 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.4067, allocations: 51.94 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.4068, allocations: 83.77 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.4069, allocations: 119.5 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.4075, allocations: 0.537 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4075, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4075, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4075, allocations: 0 / 1.331 GB, free: 12.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009654/0.4085, allocations: 0.5095 MB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4085, allocations: 8.031 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.4086, allocations: 32.75 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.4089, allocations: 212.3 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.409, allocations: 25.03 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.409, allocations: 28.38 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.4097, allocations: 314.6 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4097, allocations: 192 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.4097, allocations: 23.92 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4097, allocations: 8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.4105, allocations: 278.5 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.4116, allocations: 0.7033 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.4123, allocations: 254.8 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.4126, allocations: 137.2 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4127, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.4127, allocations: 38.5 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.202e-06/0.4127, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001051/0.4138, allocations: 365.3 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.4138, allocations: 55.41 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.414, allocations: 143.5 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.414, allocations: 29.7 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4141, allocations: 168.5 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.4142, allocations: 95.2 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.4143, allocations: 41.88 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4144, allocations: 326.8 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.4147, allocations: 104.3 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.415, allocations: 124.1 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.4156, allocations: 237 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4156, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006987/0.4163, allocations: 283.3 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4163, allocations: 8 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4163, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4164, allocations: 0 / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.4167, allocations: 67.89 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4167, allocations: 4 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.4169, allocations: 35.8 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4169, allocations: 4 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.4171, allocations: 154.4 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.4171, allocations: 15.91 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.4172, allocations: 21.27 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4172, allocations: 7.984 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4172, allocations: 0 / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4172, allocations: 3.938 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.4175, allocations: 237.1 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4175, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.4178, allocations: 55.95 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4178, allocations: 4 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4178, allocations: 8 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4178, allocations: 0 / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4178, allocations: 7.922 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007109/0.4185, allocations: 371.8 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.4186, allocations: 19.89 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.4186, allocations: 4 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.4188, allocations: 19.98 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.4188, allocations: 19.95 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4188, allocations: 8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.152e-05/0.4189, allocations: 112.2 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4189, allocations: 0 / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002943/0.4192, allocations: 55.78 kB / 1.337 GB, free: 7.047 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 (25): * Single equations (assignments): 25 * 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.0001357/0.4194, allocations: 115.1 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006792/0.42, allocations: 227.7 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.42, allocations: 0 / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.4204, allocations: 123.9 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.4208, allocations: 33.3 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.4218, allocations: 471.9 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.422, allocations: 141.7 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.867e-05/0.4221, allocations: 17.48 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.4221, allocations: 23.44 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4221, allocations: 4 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of Templates: time 0.005969/0.4281, allocations: 2.088 MB / 1.34 GB, free: 3.812 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.579997594992165]