Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001358/0.001358, allocations: 181 kB / 23.36 MB, free: 1.133 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.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.519/2.519, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.562e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002519/0.002535, allocations: 1.288 MB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.003844, allocations: 1.065 MB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.003943, allocations: 8 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.519e-05/0.004008, allocations: 27.61 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.00413, allocations: 31.61 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.00426, allocations: 123.9 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.004704, allocations: 356.3 kB / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.00495, allocations: 166.5 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.005147, allocations: 203.7 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.005242, allocations: 95.69 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.005284, allocations: 44 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.005312, allocations: 44 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.005362, allocations: 83.73 kB / 0.8421 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.005425, allocations: 95.81 kB / 0.8422 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005622, allocations: 243 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005624, allocations: 0 / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005625, allocations: 0 / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.005629, allocations: 0 / 0.8424 GB, free: 10.32 MB / 0.8073 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.0004549/0.006083, allocations: 480.2 kB / 0.8428 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.006114, allocations: 12.62 kB / 0.8429 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.006161, allocations: 44.84 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.006315, allocations: 169.4 kB / 0.8431 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.006332, allocations: 24.97 kB / 0.8431 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.006354, allocations: 32.38 kB / 0.8431 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.0066, allocations: 215.3 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.006612, allocations: 192 / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.006628, allocations: 12.38 kB / 0.8433 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.006638, allocations: 12.38 kB / 0.8433 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.006733, allocations: 72.5 kB / 0.8434 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.007361, allocations: 0.5475 MB / 0.844 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.007583, allocations: 146.5 kB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.007645, allocations: 60.77 kB / 0.8441 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.007658, allocations: 4 kB / 0.8442 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.007678, allocations: 34.56 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.00768, allocations: 0 / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0001855/0.007865, allocations: 136.4 kB / 0.8443 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.00789, allocations: 51.41 kB / 0.8444 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.007957, allocations: 138.6 kB / 0.8445 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007969, allocations: 29.7 kB / 0.8445 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.008034, allocations: 168.5 kB / 0.8447 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.008073, allocations: 87.27 kB / 0.8448 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.008121, allocations: 45.92 kB / 0.8448 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.008203, allocations: 326.8 kB / 0.8451 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.008233, allocations: 24.39 kB / 0.8451 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.008279, allocations: 51.47 kB / 0.8452 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.008371, allocations: 93.94 kB / 0.8453 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008374, allocations: 0 / 0.8453 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001172/0.008491, allocations: 121.5 kB / 0.8454 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008502, allocations: 12 kB / 0.8454 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.008508, allocations: 4 kB / 0.8454 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.008519, allocations: 0 / 0.8454 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.008674, allocations: 63.97 kB / 0.8455 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.008677, allocations: 0 / 0.8455 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.008724, allocations: 23.88 kB / 0.8455 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.008732, allocations: 4 kB / 0.8455 GB, free: 6.957 MB / 0.8073 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 6.835e-05/0.0088, allocations: 129.7 kB / 0.8456 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.008825, allocations: 15.98 kB / 0.8456 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.008853, allocations: 25.28 kB / 0.8457 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008855, allocations: 4 kB / 0.8457 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.008856, allocations: 0 / 0.8457 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.008861, allocations: 3.984 kB / 0.8457 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.009004, allocations: 161.7 kB / 0.8458 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.009005, allocations: 3.984 kB / 0.8458 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.009124, allocations: 59.84 kB / 0.8459 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009126, allocations: 0 / 0.8459 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.009135, allocations: 8 kB / 0.8459 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.009136, allocations: 4 kB / 0.8459 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009137, allocations: 0 / 0.8459 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.009268, allocations: 215.4 kB / 0.8461 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.009288, allocations: 23.77 kB / 0.8461 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.009306, allocations: 4 kB / 0.8461 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.009368, allocations: 15.98 kB / 0.8461 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.00941, allocations: 19.97 kB / 0.8462 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.009416, allocations: 3.984 kB / 0.8462 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.253e-05/0.009439, allocations: 35.06 kB / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009439, allocations: 0 / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001475/0.009586, allocations: 63.73 kB / 0.8463 GB, free: 6.129 MB / 0.8073 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 6.65e-05/0.009653, allocations: 84.36 kB / 0.8463 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.009773, allocations: 98.89 kB / 0.8464 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.009776, allocations: 0 / 0.8464 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.009849, allocations: 64.25 kB / 0.8465 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.01009, allocations: 36.09 kB / 0.8465 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.01065, allocations: 437.4 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.59e-05/0.0107, allocations: 83.92 kB / 0.847 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.01075, allocations: 17.48 kB / 0.8471 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.01084, allocations: 79.36 kB / 0.8471 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.01084, allocations: 4 kB / 0.8471 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of Templates: time 0.003488/0.01433, allocations: 1.833 MB / 0.8489 GB, free: 3.422 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.509664827957749]