Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.0009474/0.0009474, allocations: 80.94 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.0009877/0.0009877, allocations: 173 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.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.517/2.517, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.477e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002539/0.002564, allocations: 1.211 MB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.003979, allocations: 1.038 MB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.004089, allocations: 4 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.984e-05/0.004159, allocations: 31.59 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.004309, allocations: 35.66 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.004458, allocations: 95.91 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.00474, allocations: 307.4 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.004979, allocations: 145.8 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.005195, allocations: 183.6 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005301, allocations: 79.77 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.005346, allocations: 32 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.00538, allocations: 36 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.00543, allocations: 67.75 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.005501, allocations: 87.81 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005725, allocations: 195.2 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005727, allocations: 0 / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005728, allocations: 0 / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.005732, allocations: 0 / 0.8421 GB, free: 10.61 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005322/0.006264, allocations: 440.4 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.006302, allocations: 20.55 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.006358, allocations: 32.92 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.006559, allocations: 169.5 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.00658, allocations: 21.02 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.006607, allocations: 24.38 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.006896, allocations: 191.2 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006906, allocations: 192 / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.006925, allocations: 12.38 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.006934, allocations: 4.375 kB / 0.8429 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.007058, allocations: 64.5 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.007764, allocations: 476.5 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.008005, allocations: 126.4 kB / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.00807, allocations: 44.77 kB / 0.8436 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.008085, allocations: 4 kB / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.008106, allocations: 30.56 kB / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.008108, allocations: 0 / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002191/0.008327, allocations: 119.7 kB / 0.8438 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.008359, allocations: 55.34 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.008475, allocations: 141.1 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.008489, allocations: 25.7 kB / 0.844 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.008561, allocations: 156.6 kB / 0.8441 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.008607, allocations: 67.41 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.008665, allocations: 33.7 kB / 0.8442 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.00875, allocations: 326.8 kB / 0.8445 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.93e-05/0.008789, allocations: 16 kB / 0.8445 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.008843, allocations: 37.67 kB / 0.8446 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.008944, allocations: 74.94 kB / 0.8446 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.008946, allocations: 0 / 0.8446 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001454/0.009092, allocations: 104 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.009104, allocations: 4 kB / 0.8448 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009108, allocations: 0 / 0.8448 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.009122, allocations: 4 kB / 0.8448 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.009332, allocations: 51.91 kB / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009335, allocations: 0 / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.009407, allocations: 23.91 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.009419, allocations: 15.98 kB / 0.8448 GB, free: 7.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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 7.642e-05/0.009496, allocations: 117.8 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.009532, allocations: 19.97 kB / 0.845 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.009566, allocations: 29 kB / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009568, allocations: 0 / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00957, allocations: 0 / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009573, allocations: 0 / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.00977, allocations: 149.7 kB / 0.8451 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.009773, allocations: 3.984 kB / 0.8451 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.009936, allocations: 51.91 kB / 0.8452 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.009938, allocations: 0 / 0.8452 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.009948, allocations: 8 kB / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.00995, allocations: 0 / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009951, allocations: 0 / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01012, allocations: 191.4 kB / 0.8454 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.01014, allocations: 11.89 kB / 0.8454 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.01016, allocations: 11.98 kB / 0.8454 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.01025, allocations: 8 kB / 0.8454 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.01029, allocations: 19.97 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.0103, allocations: 4 kB / 0.8454 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.01034, allocations: 39.06 kB / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01034, allocations: 0 / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002505/0.01059, allocations: 51.78 kB / 0.8455 GB, free: 6.844 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 (20): * Single equations (assignments): 20 * 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.036e-05/0.01067, allocations: 84.36 kB / 0.8456 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.01081, allocations: 70.16 kB / 0.8457 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.01082, allocations: 4 kB / 0.8457 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.01089, allocations: 55 kB / 0.8457 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01113, allocations: 32.53 kB / 0.8458 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.01173, allocations: 392.7 kB / 0.8461 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.01178, allocations: 79.83 kB / 0.8462 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.061e-05/0.01186, allocations: 13.48 kB / 0.8462 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01197, allocations: 79.36 kB / 0.8463 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.01197, allocations: 0 / 0.8463 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of Templates: time 0.004498/0.01647, allocations: 1.723 MB / 0.848 GB, free: 4.34 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.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.406021163798869]