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.001009/0.001009, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001718/0.001718, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9557/0.9557, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.814/1.814, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.862e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.001749/0.001768, allocations: 1.282 MB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.003132, allocations: 1.047 MB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.003221, allocations: 4.562 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.446e-05/0.003286, allocations: 31.59 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.003398, allocations: 36.75 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.003521, allocations: 116.8 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.003752, allocations: 360.3 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.003976, allocations: 159.7 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.004164, allocations: 199.6 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.004253, allocations: 95.69 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.004295, allocations: 45.47 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.735e-05/0.004322, allocations: 44 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.004374, allocations: 83.73 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.004438, allocations: 99.8 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.004639, allocations: 236.6 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004642, allocations: 0 / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004642, allocations: 0 / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004647, allocations: 0 / 0.8153 GB, free: 13.89 MB / 0.7761 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.0005344/0.005181, allocations: 0.5809 MB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.005221, allocations: 12.02 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.00529, allocations: 68.58 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.005478, allocations: 212.2 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.005497, allocations: 22.88 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.005523, allocations: 32.38 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.005834, allocations: 227.3 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.005844, allocations: 192 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.005864, allocations: 17.72 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.005875, allocations: 8.375 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.006044, allocations: 107.8 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.006779, allocations: 0.7442 MB / 0.8172 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.007078, allocations: 193.8 kB / 0.8174 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.007171, allocations: 67.66 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.007184, allocations: 4 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.007211, allocations: 33.39 kB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.007213, allocations: 0 / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0002943/0.007507, allocations: 196.8 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.007537, allocations: 52.12 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.007634, allocations: 208.2 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.007648, allocations: 31.11 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.007725, allocations: 211.2 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.007763, allocations: 83.3 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.007815, allocations: 51.55 kB / 0.8183 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.007927, allocations: 0.4967 MB / 0.8188 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.00798, allocations: 36.44 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.008053, allocations: 70.91 kB / 0.8189 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.00819, allocations: 117.9 kB / 0.819 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.008192, allocations: 0 / 0.819 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000178/0.00837, allocations: 158.4 kB / 0.8192 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.008384, allocations: 10.66 kB / 0.8192 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.008388, allocations: 5.281 kB / 0.8192 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.0084, allocations: 0 / 0.8192 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.008539, allocations: 56.88 kB / 0.8192 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.008545, allocations: 4 kB / 0.8192 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.008599, allocations: 30.14 kB / 0.8193 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.008609, allocations: 8 kB / 0.8193 GB, free: 9.578 MB / 0.7761 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 8.448e-05/0.008693, allocations: 168.5 kB / 0.8194 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.008721, allocations: 23.91 kB / 0.8195 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.008752, allocations: 29.27 kB / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.008755, allocations: 0 / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.008759, allocations: 3.438 kB / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008763, allocations: 0 / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.008939, allocations: 240.3 kB / 0.8197 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00894, allocations: 0 / 0.8197 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.009048, allocations: 51.92 kB / 0.8198 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009051, allocations: 3.984 kB / 0.8198 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.009062, allocations: 4 kB / 0.8198 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009064, allocations: 4 kB / 0.8198 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009064, allocations: 0.7812 kB / 0.8198 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.009276, allocations: 315.6 kB / 0.8201 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.009289, allocations: 20.34 kB / 0.8201 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.009303, allocations: 0 / 0.8201 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.009359, allocations: 16.55 kB / 0.8201 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.009412, allocations: 16.5 kB / 0.8201 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.00942, allocations: 13.5 kB / 0.8201 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.009469, allocations: 141.9 kB / 0.8203 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009469, allocations: 0 / 0.8203 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004422/0.009911, allocations: 59.78 kB / 0.8203 GB, free: 8.438 MB / 0.7761 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 7.656e-05/0.009988, allocations: 108.5 kB / 0.8204 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.01018, allocations: 124.6 kB / 0.8206 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.01018, allocations: 0 / 0.8206 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.01026, allocations: 71.53 kB / 0.8206 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01048, allocations: 38.33 kB / 0.8207 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.01105, allocations: 448.4 kB / 0.8211 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.0111, allocations: 83.97 kB / 0.8212 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.104e-05/0.01116, allocations: 16.55 kB / 0.8212 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.01121, allocations: 24.44 kB / 0.8212 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01121, allocations: 1.062 kB / 0.8212 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of Templates: time 0.003668/0.01488, allocations: 1.933 MB / 0.8231 GB, free: 5.602 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] 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","",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.115162816829979]