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.000955/0.000955, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009403/0.0009403, allocations: 169 kB / 24.28 MB, free: 280 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.9536/0.9536, allocations: 177.1 MB / 204.6 MB, free: 5.664 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.991/1.991, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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 3.596e-06/3.596e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/4.007e-05, allocations: 3.281 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002806/0.002847, allocations: 1.189 MB / 0.8127 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004348, allocations: 1.015 MB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.004485, allocations: 4 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.004561, allocations: 28.55 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.004728, allocations: 45.27 kB / 0.8138 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.004893, allocations: 87.92 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.005236, allocations: 315.3 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.005536, allocations: 139.5 kB / 0.8143 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.005772, allocations: 171.7 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005889, allocations: 83.7 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.005944, allocations: 36 kB / 0.8146 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.005983, allocations: 36.62 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.006041, allocations: 68.45 kB / 0.8147 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.006135, allocations: 91.77 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.006421, allocations: 204.5 kB / 0.8149 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.006425, allocations: 0 / 0.8149 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.744e-06/0.006426, allocations: 0 / 0.8149 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.006432, allocations: 0 / 0.8149 GB, free: 14.61 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.000756/0.007188, allocations: 0.5526 MB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.007237, allocations: 13.16 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.007335, allocations: 48.75 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.007663, allocations: 211.1 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.00769, allocations: 21.59 kB / 0.8158 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.007727, allocations: 24.94 kB / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.008161, allocations: 196.4 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.008174, allocations: 192 / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.0082, allocations: 8.375 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.008217, allocations: 9.25 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.008447, allocations: 91.81 kB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.009597, allocations: 0.646 MB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.009976, allocations: 144.5 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01009, allocations: 55.59 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.01011, allocations: 4.5 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.01014, allocations: 42.98 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.01014, allocations: 0 / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003892/0.01053, allocations: 153.8 kB / 0.8171 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.01057, allocations: 51.41 kB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.01072, allocations: 196.4 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01074, allocations: 29.7 kB / 0.8174 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01085, allocations: 212 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.01091, allocations: 71.42 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.01097, allocations: 39.89 kB / 0.8177 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002413/0.01122, allocations: 0.5 MB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01133, allocations: 24.8 kB / 0.8182 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.01145, allocations: 47.3 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.01164, allocations: 90.31 kB / 0.8183 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01164, allocations: 1.219 kB / 0.8183 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001906/0.01183, allocations: 134.9 kB / 0.8184 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.01185, allocations: 4 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01186, allocations: 0.9688 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01188, allocations: 4 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.01203, allocations: 50.22 kB / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01204, allocations: 4 kB / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.01209, allocations: 19.88 kB / 0.8185 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.0121, allocations: 8 kB / 0.8185 GB, free: 10.73 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 9.445e-05/0.01219, allocations: 163.8 kB / 0.8187 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.01222, allocations: 23.91 kB / 0.8187 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.01226, allocations: 21.12 kB / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01226, allocations: 0 / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01227, allocations: 4 kB / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01227, allocations: 3.984 kB / 0.8187 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.01245, allocations: 204.5 kB / 0.8189 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.01246, allocations: 7.984 kB / 0.8189 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.01257, allocations: 40.95 kB / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01257, allocations: 0 / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01258, allocations: 4 kB / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01258, allocations: 4.5 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01258, allocations: 0.5938 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.0128, allocations: 293.7 kB / 0.8193 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.01281, allocations: 13.52 kB / 0.8193 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.01283, allocations: 0 / 0.8193 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.01289, allocations: 15.98 kB / 0.8193 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.01295, allocations: 19.95 kB / 0.8193 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.01296, allocations: 9.094 kB / 0.8193 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.01302, allocations: 144.9 kB / 0.8195 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01302, allocations: 3.938 kB / 0.8195 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000176/0.01319, allocations: 52.88 kB / 0.8195 GB, free: 9.668 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 0.0001247/0.01332, allocations: 107.8 kB / 0.8196 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.0135, allocations: 94.7 kB / 0.8197 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0135, allocations: 1 kB / 0.8197 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.01357, allocations: 62 kB / 0.8198 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01384, allocations: 37.94 kB / 0.8198 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.0145, allocations: 401.7 kB / 0.8202 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.197e-05/0.01455, allocations: 75.83 kB / 0.8203 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.956e-05/0.01461, allocations: 17.7 kB / 0.8203 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.01465, allocations: 16.5 kB / 0.8203 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of SimCode: time 9.51e-07/0.01465, allocations: 0.5938 kB / 0.8203 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.003941/0.0186, allocations: 1.728 MB / 0.822 GB, free: 7.137 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.4183187750168145]