Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001015/0.001015, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.00111/0.00111, allocations: 185 kB / 24.09 MB, free: 416 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 0.989/0.989, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.907/1.907, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.12e-05, allocations: 6.25 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002119/0.00214, allocations: 1.176 MB / 0.8132 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.003417, allocations: 1.017 MB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003523, allocations: 4 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.298e-05/0.003586, allocations: 23.67 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.003727, allocations: 40.75 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.003864, allocations: 95.89 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.00413, allocations: 315.3 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.004364, allocations: 131.1 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.004571, allocations: 179.7 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004673, allocations: 84.59 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.004715, allocations: 32 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.405e-05/0.004749, allocations: 37.34 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.004803, allocations: 67.77 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.004876, allocations: 79.81 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.005094, allocations: 195.7 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005096, allocations: 0 / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005097, allocations: 1.938 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.005103, allocations: 4 kB / 0.8154 GB, free: 13.96 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005711/0.005674, allocations: 0.5564 MB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005712, allocations: 8.031 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.005793, allocations: 52.75 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.00595, allocations: 192.3 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005964, allocations: 20.97 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.005986, allocations: 33.22 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.006208, allocations: 179.9 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.006216, allocations: 0.875 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.006232, allocations: 12.38 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006239, allocations: 4.906 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.006323, allocations: 76.45 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.006896, allocations: 0.6124 MB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.00708, allocations: 133.7 kB / 0.8172 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.00713, allocations: 51.2 kB / 0.8173 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.007148, allocations: 4 kB / 0.8173 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.007169, allocations: 45.33 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.00717, allocations: 0.8438 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0001842/0.007355, allocations: 133.8 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.007379, allocations: 56.25 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.007459, allocations: 187.6 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.007472, allocations: 34.98 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.007547, allocations: 211.2 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.007579, allocations: 67.42 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.007622, allocations: 39.34 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.007744, allocations: 0.497 MB / 0.8185 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.007771, allocations: 19.98 kB / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.007818, allocations: 54.86 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.443e-05/0.007892, allocations: 73.89 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007894, allocations: 1.312 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001164/0.00801, allocations: 121.5 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.00802, allocations: 4 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.008024, allocations: 1.594 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.008034, allocations: 4 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.008147, allocations: 43.97 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008152, allocations: 10.69 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.008195, allocations: 19.88 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008203, allocations: 4 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.62e-05/0.008279, allocations: 164.5 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.008303, allocations: 27.84 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.008332, allocations: 17.12 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008335, allocations: 4.5 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.008337, allocations: 0 / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00834, allocations: 5.297 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.008489, allocations: 169.1 kB / 0.8192 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.00849, allocations: 3.938 kB / 0.8192 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.008578, allocations: 44.78 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.00858, allocations: 1.344 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.008596, allocations: 12 kB / 0.8193 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008597, allocations: 0 / 0.8193 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008597, allocations: 0 / 0.8193 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.008759, allocations: 266.7 kB / 0.8195 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.00877, allocations: 19.83 kB / 0.8195 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.008782, allocations: 4.656 kB / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.008838, allocations: 23.91 kB / 0.8196 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.008876, allocations: 16.62 kB / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.00888, allocations: 2.906 kB / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.008926, allocations: 147.1 kB / 0.8197 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008926, allocations: 0 / 0.8197 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000165/0.009091, allocations: 55.78 kB / 0.8198 GB, free: 9.23 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 (20): * Single equations (assignments): 20 * 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.058e-05/0.009162, allocations: 95.25 kB / 0.8199 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.009282, allocations: 91.52 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.009283, allocations: 2.625 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.009332, allocations: 49.48 kB / 0.82 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.009542, allocations: 34.17 kB / 0.82 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.01005, allocations: 389.7 kB / 0.8204 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.01009, allocations: 88.88 kB / 0.8205 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.7e-05/0.01015, allocations: 10.81 kB / 0.8205 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.01024, allocations: 106.2 kB / 0.8206 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01024, allocations: 0 / 0.8206 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of Templates: time 0.003438/0.01367, allocations: 1.899 MB / 0.8225 GB, free: 6.477 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.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.081613878253847]