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.001331/0.001331, allocations: 82.64 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.001645/0.001645, allocations: 181 kB / 24.09 MB, free: 420 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.9977/0.9977, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.935/1.935, allocations: 377.9 MB / 0.624 GB, free: 8.426 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 1.653e-06/1.653e-06, allocations: 0 / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.166e-05, allocations: 3.312 kB / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002159/0.002181, allocations: 1.239 MB / 0.8132 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003272, allocations: 1.047 MB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.003386, allocations: 4 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.073e-05/0.003447, allocations: 32.25 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.003565, allocations: 36.44 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.003689, allocations: 116.9 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.003923, allocations: 356.3 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.004146, allocations: 159.6 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.004343, allocations: 203.7 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.004435, allocations: 95.67 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.004474, allocations: 44.78 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.004501, allocations: 44 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.004545, allocations: 81.44 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.004608, allocations: 99.75 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.004823, allocations: 243 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004826, allocations: 0 / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004827, allocations: 1.531 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004831, allocations: 0 / 0.8157 GB, free: 13.71 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.0004996/0.005331, allocations: 0.5835 MB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.005368, allocations: 12.03 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.005431, allocations: 64.7 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.005599, allocations: 212.5 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.005616, allocations: 21.03 kB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.005639, allocations: 32.31 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.005884, allocations: 207.9 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005895, allocations: 4.172 kB / 0.8168 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.00591, allocations: 9.094 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.005918, allocations: 8.906 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.006019, allocations: 92.45 kB / 0.8169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.006698, allocations: 0.7098 MB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.006936, allocations: 168 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.006998, allocations: 60.81 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.007011, allocations: 7.984 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.007034, allocations: 41.33 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.007036, allocations: 1.375 kB / 0.8179 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0002222/0.007258, allocations: 168.3 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.007285, allocations: 55.41 kB / 0.8181 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.007385, allocations: 209.7 kB / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.007397, allocations: 25.7 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.007482, allocations: 219.2 kB / 0.8185 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.007525, allocations: 79.28 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.007579, allocations: 51.53 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.007692, allocations: 0.5022 MB / 0.8191 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.007727, allocations: 20.45 kB / 0.8191 GB, free: 10 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.007782, allocations: 68.88 kB / 0.8192 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.007877, allocations: 101.1 kB / 0.8193 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007879, allocations: 2.781 kB / 0.8193 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001455/0.008025, allocations: 145.5 kB / 0.8194 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.008036, allocations: 8 kB / 0.8194 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008041, allocations: 0 / 0.8194 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008053, allocations: 4 kB / 0.8195 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.008182, allocations: 51.91 kB / 0.8195 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.008186, allocations: 5.469 kB / 0.8195 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.008237, allocations: 27.83 kB / 0.8195 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.008247, allocations: 8 kB / 0.8195 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.632e-05/0.008333, allocations: 169.5 kB / 0.8197 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.00836, allocations: 23.91 kB / 0.8197 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.008392, allocations: 26.64 kB / 0.8197 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008395, allocations: 4 kB / 0.8198 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008397, allocations: 0 / 0.8198 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.008401, allocations: 3.984 kB / 0.8198 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.008735, allocations: 195.6 kB / 0.8199 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.008738, allocations: 3.938 kB / 0.8199 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.008849, allocations: 47.98 kB / 0.82 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008852, allocations: 0 / 0.82 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.008863, allocations: 11.98 kB / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.008865, allocations: 7.938 kB / 0.82 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.008866, allocations: 0.5312 kB / 0.82 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.009047, allocations: 291.5 kB / 0.8203 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.009062, allocations: 27.7 kB / 0.8203 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.009074, allocations: 4 kB / 0.8203 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.00913, allocations: 12.94 kB / 0.8203 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.009174, allocations: 23.95 kB / 0.8204 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.00918, allocations: 0.8438 kB / 0.8204 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.009231, allocations: 144.5 kB / 0.8205 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009231, allocations: 0.5625 kB / 0.8205 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001855/0.009417, allocations: 59.78 kB / 0.8206 GB, free: 8.48 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.753e-05/0.009514, allocations: 110.9 kB / 0.8207 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.009659, allocations: 103.5 kB / 0.8208 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00966, allocations: 0 / 0.8208 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.009725, allocations: 69.31 kB / 0.8208 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.00995, allocations: 33.42 kB / 0.8209 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.01052, allocations: 445.4 kB / 0.8213 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.01057, allocations: 79.98 kB / 0.8214 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.01065, allocations: 23.09 kB / 0.8214 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/0.01073, allocations: 98.19 kB / 0.8215 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01074, allocations: 0 / 0.8215 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.00384/0.01457, allocations: 2.025 MB / 0.8234 GB, free: 5.508 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.1449017957784235]