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.001149/0.001149, 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.001259/0.001259, allocations: 169.3 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.9405/0.9405, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.896/1.896, allocations: 377.8 MB / 0.6239 GB, free: 8.582 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.934e-06/1.934e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.817e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.00224/0.002268, allocations: 1.269 MB / 0.8128 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003543, allocations: 1.043 MB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.003646, allocations: 4 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.358e-05/0.00371, allocations: 31.59 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.003845, allocations: 34 kB / 0.8139 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003978, allocations: 115.9 kB / 0.814 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.004237, allocations: 356.3 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.004496, allocations: 158.5 kB / 0.8145 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.004693, allocations: 209.1 kB / 0.8147 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.00479, allocations: 95.69 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.004838, allocations: 44 kB / 0.8148 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.004869, allocations: 49.59 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.004923, allocations: 87.73 kB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.004992, allocations: 95.8 kB / 0.815 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.005222, allocations: 243 kB / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005225, allocations: 0 / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.314e-06/0.005227, allocations: 4.875 kB / 0.8152 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.005233, allocations: 0 / 0.8152 GB, free: 14.29 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.0005981/0.005831, allocations: 0.5802 MB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.005872, allocations: 8.031 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.00595, allocations: 61.39 kB / 0.8159 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.006223, allocations: 217.8 kB / 0.8161 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.006245, allocations: 25.03 kB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.006273, allocations: 32.38 kB / 0.8161 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.006603, allocations: 224.7 kB / 0.8164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.006615, allocations: 192 / 0.8164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.006639, allocations: 20.36 kB / 0.8164 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.006651, allocations: 14.06 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.006844, allocations: 107.8 kB / 0.8165 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.007648, allocations: 0.7437 MB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.007984, allocations: 187.8 kB / 0.8174 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.319e-05/0.008077, allocations: 68.34 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.008092, allocations: 5.25 kB / 0.8175 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.008115, allocations: 37.38 kB / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.008117, allocations: 0 / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0003146/0.008431, allocations: 192.3 kB / 0.8177 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.008463, allocations: 57.97 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.008567, allocations: 205.8 kB / 0.8179 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.00858, allocations: 29.7 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.008667, allocations: 211.2 kB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.008712, allocations: 83.3 kB / 0.8182 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.008764, allocations: 47.55 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.008879, allocations: 0.5006 MB / 0.8188 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.008934, allocations: 32.45 kB / 0.8188 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.009012, allocations: 74.55 kB / 0.8189 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.009145, allocations: 109.7 kB / 0.819 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.009147, allocations: 5.625 kB / 0.819 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001872/0.009335, allocations: 161.5 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.00935, allocations: 10.81 kB / 0.8192 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.009355, allocations: 0.8125 kB / 0.8192 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.009367, allocations: 0 / 0.8192 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.009695, allocations: 56.84 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.009702, allocations: 4 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.009759, allocations: 29.05 kB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.009769, allocations: 8 kB / 0.8193 GB, free: 9.973 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.819e-05/0.009857, allocations: 169.3 kB / 0.8194 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.009884, allocations: 27.84 kB / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.00992, allocations: 27.5 kB / 0.8195 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.009922, allocations: 0 / 0.8195 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.009926, allocations: 0 / 0.8195 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.009931, allocations: 3.984 kB / 0.8195 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.01012, allocations: 236.4 kB / 0.8197 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01012, allocations: 4 kB / 0.8197 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01023, allocations: 58.88 kB / 0.8198 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01023, allocations: 0 / 0.8198 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.01024, allocations: 0 / 0.8198 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01025, allocations: 4 kB / 0.8198 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01025, allocations: 0 / 0.8198 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.01047, allocations: 311.6 kB / 0.8201 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.01049, allocations: 23.84 kB / 0.8201 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.0105, allocations: 5.391 kB / 0.8201 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.01056, allocations: 12 kB / 0.8201 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.01062, allocations: 19.95 kB / 0.8201 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01063, allocations: 16.55 kB / 0.8201 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.01068, allocations: 145.2 kB / 0.8203 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 1.062 kB / 0.8203 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001833/0.01086, allocations: 59.78 kB / 0.8203 GB, free: 8.82 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 8.649e-05/0.01095, allocations: 103.9 kB / 0.8204 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.01114, allocations: 121.4 kB / 0.8205 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01114, allocations: 0 / 0.8205 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.827e-05/0.01122, allocations: 71.53 kB / 0.8206 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01147, allocations: 37.14 kB / 0.8206 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.01209, allocations: 455.3 kB / 0.8211 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.285e-05/0.01214, allocations: 79.98 kB / 0.8212 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.998e-05/0.0122, allocations: 14.77 kB / 0.8212 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.01225, allocations: 20.5 kB / 0.8212 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.01225, allocations: 1.031 kB / 0.8212 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of Templates: time 0.003741/0.01599, allocations: 1.836 MB / 0.823 GB, free: 6.098 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.218173088040203]