Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.002563/0.002563, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002638/0.002638, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 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.615/1.615, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.286/3.286, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.901e-05, allocations: 2.281 kB / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002233/0.002262, allocations: 0.9298 MB / 1.002 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003541, allocations: 0.9132 MB / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.003629, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 5.988e-05/0.003689, allocations: 11.81 kB / 1.003 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.00382, allocations: 23.78 kB / 1.003 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.003972, allocations: 55.88 kB / 1.003 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.004265, allocations: 180.2 kB / 1.003 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.004524, allocations: 72.86 kB / 1.003 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.004723, allocations: 99.73 kB / 1.003 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.004832, allocations: 55.8 kB / 1.003 GB, free: 9.582 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.004889, allocations: 20 kB / 1.003 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 3.982e-05/0.004928, allocations: 20 kB / 1.003 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.004992, allocations: 43.83 kB / 1.003 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.00507, allocations: 43.91 kB / 1.004 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.005423, allocations: 231.2 kB / 1.004 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.005431, allocations: 4 kB / 1.004 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005432, allocations: 4 kB / 1.004 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.005438, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9167 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.0009441/0.006382, allocations: 394 kB / 1.004 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.006432, allocations: 13.34 kB / 1.004 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.006497, allocations: 16.84 kB / 1.004 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.006776, allocations: 157.1 kB / 1.004 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.006801, allocations: 12.7 kB / 1.004 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.006832, allocations: 20.38 kB / 1.004 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.007486, allocations: 180.8 kB / 1.005 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.0075, allocations: 192 / 1.005 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.007522, allocations: 4.375 kB / 1.005 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.007532, allocations: 4.375 kB / 1.005 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.008121, allocations: 184 kB / 1.005 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.008911, allocations: 403.9 kB / 1.005 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.009321, allocations: 138.4 kB / 1.005 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.009594, allocations: 88.8 kB / 1.005 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.009619, allocations: 3.938 kB / 1.005 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.009662, allocations: 42.48 kB / 1.005 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.009663, allocations: 0 / 1.005 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0008691/0.01053, allocations: 257.7 kB / 1.006 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.01059, allocations: 51.41 kB / 1.006 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.01073, allocations: 130.1 kB / 1.006 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.01075, allocations: 25.7 kB / 1.006 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01086, allocations: 128.3 kB / 1.006 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.01091, allocations: 51.56 kB / 1.006 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.01098, allocations: 29.72 kB / 1.006 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.01114, allocations: 322.8 kB / 1.006 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.01138, allocations: 63.94 kB / 1.006 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.01165, allocations: 101.3 kB / 1.006 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.01215, allocations: 162.4 kB / 1.007 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01215, allocations: 0 / 1.007 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005841/0.01273, allocations: 212.4 kB / 1.007 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01275, allocations: 4 kB / 1.007 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01275, allocations: 0 / 1.007 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.01278, allocations: 7.984 kB / 1.007 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.01299, allocations: 39.91 kB / 1.007 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.013, allocations: 0 / 1.007 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01313, allocations: 23.97 kB / 1.007 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01314, allocations: 8.062 kB / 1.007 GB, free: 5.824 MB / 0.9167 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 0.0001232/0.01326, allocations: 134.6 kB / 1.007 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.0133, allocations: 15.84 kB / 1.007 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.01334, allocations: 12.78 kB / 1.007 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01335, allocations: 4 kB / 1.007 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.01335, allocations: 4 kB / 1.007 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01336, allocations: 3.984 kB / 1.007 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.01357, allocations: 153.3 kB / 1.007 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01358, allocations: 0 / 1.007 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.01377, allocations: 43.97 kB / 1.007 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.01378, allocations: 3.938 kB / 1.007 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01379, allocations: 0 / 1.007 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01379, allocations: 0 / 1.007 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01379, allocations: 0 / 1.007 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.01438, allocations: 287.3 kB / 1.008 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.0144, allocations: 19.83 kB / 1.008 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01442, allocations: 3.938 kB / 1.008 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.01457, allocations: 23.97 kB / 1.008 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.01464, allocations: 11.97 kB / 1.008 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01465, allocations: 4 kB / 1.008 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.325e-05/0.01472, allocations: 99.2 kB / 1.008 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01472, allocations: 0 / 1.008 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002411/0.01497, allocations: 31.95 kB / 1.008 GB, free: 4.922 MB / 0.9167 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 0.0001469/0.01511, allocations: 99.25 kB / 1.008 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.01569, allocations: 163.8 kB / 1.008 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01569, allocations: 0 / 1.008 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.01596, allocations: 84 kB / 1.008 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.01628, allocations: 25.52 kB / 1.008 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.01695, allocations: 289.5 kB / 1.008 GB, free: 4.246 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.01706, allocations: 106.9 kB / 1.008 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.01713, allocations: 12.48 kB / 1.008 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.01717, allocations: 12.5 kB / 1.008 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.01717, allocations: 0 / 1.008 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of Templates: time 0.005135/0.02231, allocations: 1.406 MB / 1.01 GB, free: 2.75 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.225766715593636]