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.117 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.0009331/0.0009331, allocations: 161 kB / 23.82 MB, free: 0.75 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.981/0.981, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.945/1.945, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.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 2.915e-06/2.915e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.274e-05, allocations: 5.703 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.002072/0.002104, allocations: 1.28 MB / 0.8128 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003409, allocations: 1.047 MB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.003511, allocations: 4 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.127e-05/0.003572, allocations: 32.62 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.003697, allocations: 36.39 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.003835, allocations: 115.9 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.00408, allocations: 358 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.004336, allocations: 162.5 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004514, allocations: 195.7 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.004606, allocations: 99.66 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.004648, allocations: 49.53 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.198e-05/0.00468, allocations: 44 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.004728, allocations: 87.73 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.004792, allocations: 91.83 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.005018, allocations: 247.6 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005021, allocations: 0.9062 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005022, allocations: 0 / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005027, allocations: 0 / 0.8153 GB, free: 13.88 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.0005779/0.005605, allocations: 0.5803 MB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.005649, allocations: 12.02 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.005723, allocations: 65.42 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.005961, allocations: 213.4 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.005983, allocations: 25.03 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.006015, allocations: 30.03 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.006349, allocations: 223.3 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.006363, allocations: 4.125 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.006384, allocations: 16.88 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.006396, allocations: 8.969 kB / 0.8164 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.006576, allocations: 115.7 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007831/0.007359, allocations: 0.7411 MB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.00767, allocations: 185 kB / 0.8174 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/0.007768, allocations: 75.58 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.007782, allocations: 4 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.007805, allocations: 37.39 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.007807, allocations: 0 / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0003165/0.008123, allocations: 198.5 kB / 0.8177 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.008153, allocations: 55.41 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.008255, allocations: 193.8 kB / 0.818 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008271, allocations: 29.7 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.008355, allocations: 215.2 kB / 0.8182 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.008401, allocations: 87.27 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.008455, allocations: 50.34 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.008572, allocations: 0.5078 MB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.008628, allocations: 28.45 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.008706, allocations: 73.14 kB / 0.8189 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.008841, allocations: 117.2 kB / 0.819 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008843, allocations: 1.469 kB / 0.819 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001915/0.009035, allocations: 157.4 kB / 0.8192 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.009053, allocations: 8 kB / 0.8192 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.009058, allocations: 0.5 kB / 0.8192 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.009076, allocations: 4.562 kB / 0.8192 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.009224, allocations: 53.34 kB / 0.8192 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.009232, allocations: 4 kB / 0.8192 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.009287, allocations: 27.83 kB / 0.8193 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.009296, allocations: 10.53 kB / 0.8193 GB, free: 9.562 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.814e-05/0.009384, allocations: 172.5 kB / 0.8195 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.009415, allocations: 23.91 kB / 0.8195 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.009451, allocations: 25.27 kB / 0.8195 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.009453, allocations: 0 / 0.8195 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.009457, allocations: 4 kB / 0.8195 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00946, allocations: 0.5625 kB / 0.8195 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.009643, allocations: 232.4 kB / 0.8197 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009644, allocations: 1.125 kB / 0.8197 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.009761, allocations: 55.91 kB / 0.8198 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.009763, allocations: 0.9688 kB / 0.8198 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.009775, allocations: 8 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009776, allocations: 0 / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009777, allocations: 0.8438 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.01001, allocations: 318.2 kB / 0.8201 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.01002, allocations: 16.44 kB / 0.8201 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.01004, allocations: 7.688 kB / 0.8201 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.01009, allocations: 11.98 kB / 0.8201 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.01015, allocations: 23.97 kB / 0.8201 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-06/0.01015, allocations: 4 kB / 0.8202 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.01021, allocations: 145 kB / 0.8203 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 0 / 0.8203 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001825/0.01039, allocations: 59.78 kB / 0.8203 GB, free: 8.422 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 9.291e-05/0.01048, allocations: 107.2 kB / 0.8204 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.01075, allocations: 121 kB / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01076, allocations: 0 / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.01083, allocations: 73.56 kB / 0.8206 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01108, allocations: 38.08 kB / 0.8207 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.01167, allocations: 455.4 kB / 0.8211 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.01172, allocations: 83.97 kB / 0.8212 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.931e-05/0.01178, allocations: 17.8 kB / 0.8212 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.01183, allocations: 16.5 kB / 0.8212 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.01183, allocations: 0.6562 kB / 0.8212 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of Templates: time 0.003639/0.01547, allocations: 1.841 MB / 0.823 GB, free: 5.688 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.401925489772111]