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.001028/0.001028, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009974/0.0009974, allocations: 162.7 kB / 24.87 MB, free: 8.891 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.2 MB / 205.3 MB, free: 5.484 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.962/1.962, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.673e-06/1.673e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.542e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.001664/0.001679, allocations: 1.232 MB / 0.814 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002681, allocations: 1.043 MB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.002771, allocations: 5.344 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.002826, allocations: 31.59 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.002943, allocations: 41.47 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.003065, allocations: 115.9 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.003296, allocations: 352.3 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.003537, allocations: 166.5 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.003713, allocations: 199.6 kB / 0.8159 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.003806, allocations: 105.2 kB / 0.816 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.003844, allocations: 44 kB / 0.816 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.003871, allocations: 40 kB / 0.8161 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.003914, allocations: 77.11 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.003973, allocations: 103.7 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.004169, allocations: 239 kB / 0.8165 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004171, allocations: 0 / 0.8165 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004171, allocations: 1.594 kB / 0.8165 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004177, allocations: 0 / 0.8165 GB, free: 13.69 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.0005071/0.004684, allocations: 0.5842 MB / 0.817 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.004716, allocations: 12.03 kB / 0.817 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.004773, allocations: 60.7 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.004952, allocations: 214.7 kB / 0.8173 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.004975, allocations: 21.03 kB / 0.8173 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.005003, allocations: 36.89 kB / 0.8174 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.005251, allocations: 204.1 kB / 0.8176 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.00526, allocations: 0.7188 kB / 0.8176 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.005279, allocations: 22 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005286, allocations: 4.375 kB / 0.8176 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.00539, allocations: 88.45 kB / 0.8177 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.006064, allocations: 0.705 MB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.006303, allocations: 168.3 kB / 0.8185 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.006366, allocations: 65.02 kB / 0.8186 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.006379, allocations: 4 kB / 0.8186 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.006401, allocations: 41.38 kB / 0.8186 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.006402, allocations: 0 / 0.8186 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0002217/0.006623, allocations: 171.1 kB / 0.8188 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.006653, allocations: 55.41 kB / 0.8188 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.006745, allocations: 204.3 kB / 0.819 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.006764, allocations: 33.69 kB / 0.8191 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.006845, allocations: 216.2 kB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.006885, allocations: 83.27 kB / 0.8193 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.006938, allocations: 55.53 kB / 0.8194 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.00705, allocations: 0.5008 MB / 0.8199 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.007084, allocations: 20.45 kB / 0.8199 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.00714, allocations: 62.45 kB / 0.82 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/0.007235, allocations: 98.91 kB / 0.8201 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007237, allocations: 0 / 0.8201 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001472/0.007384, allocations: 148.9 kB / 0.8202 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.007395, allocations: 10.09 kB / 0.8202 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007399, allocations: 0 / 0.8202 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.007409, allocations: 4 kB / 0.8202 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.007543, allocations: 51.91 kB / 0.8203 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.007546, allocations: 4 kB / 0.8203 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.007599, allocations: 30.08 kB / 0.8203 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.007611, allocations: 11.98 kB / 0.8203 GB, free: 9.543 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.428e-05/0.007695, allocations: 172.5 kB / 0.8205 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.007727, allocations: 19.91 kB / 0.8205 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.007758, allocations: 21.28 kB / 0.8205 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.007762, allocations: 4.5 kB / 0.8205 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007764, allocations: 0.5312 kB / 0.8205 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.007768, allocations: 5.922 kB / 0.8205 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.007928, allocations: 197 kB / 0.8207 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.00793, allocations: 3.938 kB / 0.8207 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.008043, allocations: 51.91 kB / 0.8208 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.008044, allocations: 0 / 0.8208 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.008053, allocations: 8.5 kB / 0.8208 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.008054, allocations: 0.5938 kB / 0.8208 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008055, allocations: 0 / 0.8208 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.008233, allocations: 294.6 kB / 0.8211 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.008245, allocations: 20.44 kB / 0.8211 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.008262, allocations: 11.98 kB / 0.8211 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.722e-05/0.008319, allocations: 15.38 kB / 0.8211 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.008363, allocations: 27.89 kB / 0.8211 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.008368, allocations: 0 / 0.8211 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.008418, allocations: 144.5 kB / 0.8213 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008418, allocations: 3.938 kB / 0.8213 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001781/0.008596, allocations: 59.78 kB / 0.8213 GB, free: 8.457 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.063e-05/0.008676, allocations: 103.2 kB / 0.8214 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.00882, allocations: 105.8 kB / 0.8215 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.008821, allocations: 0 / 0.8215 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.308e-05/0.008884, allocations: 68.17 kB / 0.8216 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.009109, allocations: 36.84 kB / 0.8216 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.009624, allocations: 445.1 kB / 0.8221 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.009679, allocations: 79.98 kB / 0.8221 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.172e-05/0.00974, allocations: 17.7 kB / 0.8221 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.009832, allocations: 98.19 kB / 0.8222 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.009833, allocations: 0.5 kB / 0.8222 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of Templates: time 0.00378/0.01361, allocations: 2.068 MB / 0.8243 GB, free: 5.445 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.126832981128246]