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.00108/0.00108, allocations: 80.88 kB / 20.75 MB, free: 3.578 MB / 18.57 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.001193/0.001193, allocations: 165 kB / 24.16 MB, free: 172 kB / 18.57 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.965/1.965, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.925e-05, allocations: 3.094 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.005377/0.005406, allocations: 0.9814 MB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.006547, allocations: 0.9236 MB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.006611, allocations: 4 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.46e-05/0.006655, allocations: 15.8 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.95e-05/0.006755, allocations: 20.77 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.724e-05/0.006842, allocations: 48.48 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.006999, allocations: 162.7 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.007155, allocations: 70.5 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.01032, allocations: 96.77 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.01039, allocations: 43.88 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.01042, allocations: 20 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.01044, allocations: 17.22 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.01047, allocations: 35.84 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.01051, allocations: 47.89 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.01066, allocations: 105.3 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01067, allocations: 0 / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01067, allocations: 0 / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.01067, allocations: 0 / 0.7626 GB, free: 3.984 MB / 0.7136 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.0004138/0.01109, allocations: 345 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01112, allocations: 12.78 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.01116, allocations: 20.92 kB / 0.763 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.01131, allocations: 134.3 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.01133, allocations: 12.38 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.01134, allocations: 18.47 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.01153, allocations: 122.6 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.01154, allocations: 192 / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.01155, allocations: 8.375 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01156, allocations: 4.375 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.01162, allocations: 41.19 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.01205, allocations: 321 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.01226, allocations: 97.86 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.49e-05/0.01231, allocations: 36.09 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.01232, allocations: 4 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.01234, allocations: 34.55 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.01234, allocations: 0 / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001653/0.01251, allocations: 89.59 kB / 0.7639 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.01254, allocations: 55.34 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.01261, allocations: 127 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.01262, allocations: 25.7 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.01266, allocations: 115.5 kB / 0.7642 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.0127, allocations: 51.52 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.01274, allocations: 29.69 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.01283, allocations: 318.8 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.01285, allocations: 11.98 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.01287, allocations: 8 kB / 0.7646 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.01293, allocations: 53.06 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01294, allocations: 0 / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001035/0.01304, allocations: 76.61 kB / 0.7647 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00302/0.01606, allocations: 9.438 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01607, allocations: 0 / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01608, allocations: 7.938 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01624, allocations: 36.62 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.01624, allocations: 1.094 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.01628, allocations: 12 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.01629, allocations: 0 / 0.7648 GB, free: 1.652 MB / 0.7136 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 7.305e-05/0.01636, allocations: 120.3 kB / 0.7649 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.01639, allocations: 4 kB / 0.7649 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.01642, allocations: 16.44 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.01642, allocations: 7.875 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01642, allocations: 0 / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01643, allocations: 3.984 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.01659, allocations: 120.9 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01659, allocations: 0 / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.0167, allocations: 31.98 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0167, allocations: 0 / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.01671, allocations: 4 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01671, allocations: 4 kB / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01671, allocations: 0 / 0.765 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.01685, allocations: 180.9 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.01686, allocations: 7.953 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01688, allocations: 8 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.01694, allocations: 7.984 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.01699, allocations: 13.39 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.017, allocations: 3.938 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.108e-05/0.01702, allocations: 20.89 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01702, allocations: 0 / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002057/0.01723, allocations: 34.33 kB / 0.7653 GB, free: 1.035 MB / 0.7136 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.0001151/0.01734, allocations: 84.42 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.01745, allocations: 52.77 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.01746, allocations: 4 kB / 0.7654 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.0175, allocations: 40.91 kB / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01773, allocations: 27.92 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.01821, allocations: 254.5 kB / 0.7658 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.01826, allocations: 74.12 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.01831, allocations: 9.766 kB / 0.7658 GB, free: 456 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.0184, allocations: 68.09 kB / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.0184, allocations: 0.6875 kB / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of Templates: time 0.00977/0.02817, allocations: 1.193 MB / 0.7671 GB, free: 15.3 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182489824015647]