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.001097/0.001097, 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.001235/0.001235, 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 1.037/1.037, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.52 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 2.475e-06/2.475e-06, allocations: 0 / 0.8115 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/3.01e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002122/0.002152, allocations: 1.207 MB / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003401, allocations: 1.012 MB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003506, allocations: 4 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.003564, allocations: 23.67 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.003706, allocations: 45.17 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.003843, allocations: 95.91 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.004127, allocations: 311.3 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.004363, allocations: 140 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.00457, allocations: 175.7 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.004658, allocations: 83.69 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.004701, allocations: 36 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.654e-05/0.004727, allocations: 32.62 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.004769, allocations: 68.34 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.004829, allocations: 75.83 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.00506, allocations: 203.8 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005063, allocations: 0 / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005064, allocations: 0.5312 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.00507, allocations: 1.438 kB / 0.815 GB, free: 14.21 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.0005928/0.005663, allocations: 0.5515 MB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.005705, allocations: 12.03 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.005774, allocations: 50.12 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.005986, allocations: 204.2 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.006007, allocations: 21.03 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.00603, allocations: 25.53 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.00634, allocations: 195.4 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.006352, allocations: 5.547 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.006371, allocations: 8.375 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.006383, allocations: 8.375 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.006528, allocations: 87.81 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.007293, allocations: 0.6466 MB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.007576, allocations: 146.6 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.704e-05/0.007653, allocations: 55.59 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.007668, allocations: 9.156 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.007693, allocations: 41.39 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.604e-06/0.007696, allocations: 0 / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0002866/0.007982, allocations: 154.7 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.008015, allocations: 51.41 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.008124, allocations: 195.8 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.008141, allocations: 31.05 kB / 0.8174 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.00823, allocations: 211.2 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.008265, allocations: 63.44 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.008318, allocations: 44.55 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.00844, allocations: 0.4923 MB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.008495, allocations: 27.92 kB / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.008559, allocations: 53.11 kB / 0.8182 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.008672, allocations: 89.72 kB / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008674, allocations: 0 / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001754/0.00885, allocations: 133.5 kB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.008865, allocations: 6.469 kB / 0.8184 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00887, allocations: 0 / 0.8184 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.008885, allocations: 4 kB / 0.8184 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.009019, allocations: 43.97 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.009026, allocations: 7.938 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.009079, allocations: 24.38 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.009091, allocations: 8.531 kB / 0.8185 GB, free: 10.34 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.702e-05/0.009188, allocations: 162.5 kB / 0.8187 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.009232, allocations: 23.91 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.009275, allocations: 17.12 kB / 0.8187 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.009279, allocations: 4 kB / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.009283, allocations: 0 / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.009289, allocations: 4.641 kB / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.009526, allocations: 204.5 kB / 0.8189 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.009528, allocations: 0.6562 kB / 0.8189 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.009685, allocations: 55.06 kB / 0.819 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.009688, allocations: 0 / 0.819 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.0097, allocations: 0 / 0.819 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.009704, allocations: 4 kB / 0.819 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.009706, allocations: 0 / 0.819 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.009976, allocations: 288.9 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.009991, allocations: 15.83 kB / 0.8193 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01001, allocations: 4 kB / 0.8193 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.0101, allocations: 14.39 kB / 0.8193 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.01016, allocations: 15.97 kB / 0.8193 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01017, allocations: 11.98 kB / 0.8193 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.01024, allocations: 145 kB / 0.8195 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01024, allocations: 0 / 0.8195 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002764/0.01052, allocations: 51.78 kB / 0.8195 GB, free: 9.281 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.0001103/0.01063, allocations: 108.2 kB / 0.8196 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.01089, allocations: 94.33 kB / 0.8197 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.01089, allocations: 3.938 kB / 0.8197 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.01098, allocations: 62.75 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.01132, allocations: 35.72 kB / 0.8198 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.01202, allocations: 401.6 kB / 0.8202 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.01208, allocations: 77.33 kB / 0.8203 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.239e-05/0.01216, allocations: 16.3 kB / 0.8203 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.01222, allocations: 22.38 kB / 0.8203 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.01222, allocations: 0 / 0.8203 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.004779/0.017, allocations: 1.831 MB / 0.8221 GB, free: 6.641 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.320405622012913]