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.PIGain.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.001117/0.001117, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001167/0.001167, allocations: 165 kB / 24.17 MB, free: 336 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.077/1.077, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.893/1.893, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.678e-05, allocations: 2.312 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001738/0.001765, allocations: 0.9604 MB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.002762, allocations: 0.9355 MB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.002829, allocations: 4 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.002871, allocations: 21.36 kB / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.002972, allocations: 24.56 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.828e-05/0.003051, allocations: 47.94 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.003188, allocations: 172.2 kB / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.003322, allocations: 79.77 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.003449, allocations: 99.8 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.003515, allocations: 51.84 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.003543, allocations: 20 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.003558, allocations: 20.66 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.003587, allocations: 41.16 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.00362, allocations: 39.91 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003752, allocations: 123.4 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.003755, allocations: 3.984 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003756, allocations: 1.344 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.003764, allocations: 0 / 0.7626 GB, free: 4.008 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0003676/0.004131, allocations: 353.9 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.004163, allocations: 12.03 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.004199, allocations: 24.92 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.004326, allocations: 146.2 kB / 0.7631 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.00434, allocations: 12.7 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.004357, allocations: 16.38 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.004524, allocations: 142.2 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.004531, allocations: 0.7188 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004542, allocations: 9.344 kB / 0.7633 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004548, allocations: 4.375 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.004603, allocations: 44.52 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.004978, allocations: 313.9 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.005089, allocations: 78.55 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.005129, allocations: 30.34 kB / 0.7637 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.005141, allocations: 4 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.005162, allocations: 30.56 kB / 0.7638 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.005164, allocations: 0 / 0.7638 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001615/0.005325, allocations: 94.14 kB / 0.7639 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.005361, allocations: 56.16 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.005437, allocations: 126.7 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.005451, allocations: 30.45 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.005514, allocations: 128.3 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.005539, allocations: 49.61 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.005581, allocations: 25.72 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.005672, allocations: 326.8 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.0057, allocations: 8 kB / 0.7646 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.005737, allocations: 36.81 kB / 0.7646 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.005802, allocations: 60.22 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005804, allocations: 0 / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.701e-05/0.005901, allocations: 96.45 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.005913, allocations: 7.938 kB / 0.7648 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005919, allocations: 4 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.005931, allocations: 0 / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.006022, allocations: 31.92 kB / 0.7648 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.006026, allocations: 4 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.006066, allocations: 19.92 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.006072, allocations: 0 / 0.7648 GB, free: 1.578 MB / 0.7136 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 (15): * Single equations (assignments): 15 * 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 6.006e-05/0.006132, allocations: 116.9 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.006149, allocations: 7.984 kB / 0.765 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.006175, allocations: 20.72 kB / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006176, allocations: 0 / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006178, allocations: 0 / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006181, allocations: 0 / 0.765 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.006296, allocations: 113.7 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006297, allocations: 5.344 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.006357, allocations: 35.97 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.006358, allocations: 0 / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006363, allocations: 0 / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006364, allocations: 1.281 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.006366, allocations: 3.938 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.00647, allocations: 171.5 kB / 0.7653 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.006479, allocations: 12.61 kB / 0.7653 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.00649, allocations: 7.922 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.006533, allocations: 12.56 kB / 0.7653 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.006571, allocations: 20.56 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.006576, allocations: 4 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.006596, allocations: 25.98 kB / 0.7654 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006596, allocations: 0 / 0.7654 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001363/0.006733, allocations: 31.89 kB / 0.7654 GB, free: 0.957 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 (13): * Single equations (assignments): 13 * 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 9.171e-05/0.006824, allocations: 86.86 kB / 0.7655 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.936e-05/0.006924, allocations: 52.78 kB / 0.7655 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.006927, allocations: 0 / 0.7655 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.006962, allocations: 36.78 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.007118, allocations: 28.5 kB / 0.7656 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.007493, allocations: 270.5 kB / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.007532, allocations: 71.33 kB / 0.7659 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.007573, allocations: 6.656 kB / 0.7659 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.007642, allocations: 72.02 kB / 0.766 GB, free: 300 kB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.007643, allocations: 0 / 0.766 GB, free: 300 kB / 0.7136 GB Notification: Performance of Templates: time 0.002909/0.01055, allocations: 1.379 MB / 0.7673 GB, free: 15.03 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.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.208005941938609]