Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001038/0.001038, 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.001089/0.001089, allocations: 166.8 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 1.014/1.014, allocations: 177.1 MB / 205.3 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.911/1.911, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.387e-05, allocations: 3.812 kB / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.00235/0.002384, allocations: 0.9589 MB / 0.8137 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003682, allocations: 0.9217 MB / 0.8146 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.003781, allocations: 0.6875 kB / 0.8146 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.003831, allocations: 19.73 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.003962, allocations: 24.95 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.004069, allocations: 55.94 kB / 0.8147 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.004242, allocations: 169.1 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.004423, allocations: 68.88 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.004559, allocations: 100.6 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.004634, allocations: 51.81 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.004661, allocations: 17.69 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.00468, allocations: 20 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.004712, allocations: 39.84 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.004757, allocations: 51.89 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.00491, allocations: 119.5 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.004912, allocations: 1.531 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004914, allocations: 0 / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.00492, allocations: 0 / 0.8153 GB, free: 14.79 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005279/0.005448, allocations: 485.3 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.005489, allocations: 9.625 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.005538, allocations: 28.84 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.005699, allocations: 156.3 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.005714, allocations: 12.7 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005731, allocations: 20.3 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.005936, allocations: 140 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.005947, allocations: 4.188 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.00596, allocations: 8.375 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.005967, allocations: 4.375 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.006033, allocations: 48.5 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.006527, allocations: 437.5 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.006648, allocations: 84.69 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.006688, allocations: 35.66 kB / 0.8168 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.006699, allocations: 4 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.006722, allocations: 41.27 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.295e-06/0.006724, allocations: 0.5938 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0001885/0.006912, allocations: 100 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.006953, allocations: 56.17 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.00706, allocations: 189.8 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.007077, allocations: 30.86 kB / 0.8172 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.007159, allocations: 175 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.007181, allocations: 43.62 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.007223, allocations: 28.75 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.007358, allocations: 0.5001 MB / 0.8179 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.022e-05/0.007389, allocations: 11.98 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.007432, allocations: 45.52 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.007502, allocations: 72.72 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007503, allocations: 0 / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001206/0.007624, allocations: 101.2 kB / 0.8181 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.007639, allocations: 11.31 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.007645, allocations: 4 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.007655, allocations: 0 / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.007764, allocations: 40.81 kB / 0.8182 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007767, allocations: 0 / 0.8182 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.013e-05/0.007807, allocations: 12.78 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007813, allocations: 4 kB / 0.8182 GB, free: 11.7 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 (15): * Single equations (assignments): 15 * 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.511e-05/0.007898, allocations: 166.8 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.007925, allocations: 23.84 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.007954, allocations: 12.78 kB / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.007956, allocations: 3.938 kB / 0.8184 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007958, allocations: 4 kB / 0.8184 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007962, allocations: 2.688 kB / 0.8184 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.00809, allocations: 133.2 kB / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008091, allocations: 0 / 0.8185 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/0.008159, allocations: 27.98 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008161, allocations: 3.984 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.008169, allocations: 4 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.008171, allocations: 5.5 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008172, allocations: 0 / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.00834, allocations: 239.8 kB / 0.8188 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.008352, allocations: 15.84 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.008365, allocations: 7.984 kB / 0.8188 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.00842, allocations: 17.94 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.008465, allocations: 15.97 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.00847, allocations: 0 / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.008521, allocations: 139.2 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008521, allocations: 0 / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001612/0.008682, allocations: 32.55 kB / 0.819 GB, free: 10.81 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 (13): * Single equations (assignments): 13 * 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 0.0001175/0.008799, allocations: 110.9 kB / 0.8191 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.008917, allocations: 55.59 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008919, allocations: 0 / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/0.008962, allocations: 43.59 kB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.009203, allocations: 29.69 kB / 0.8192 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.009634, allocations: 292.5 kB / 0.8195 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.009673, allocations: 68.47 kB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.009716, allocations: 10.67 kB / 0.8196 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.009796, allocations: 86.19 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of SimCode: time 9.11e-07/0.009797, allocations: 0 / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.003741/0.01354, allocations: 1.604 MB / 0.8212 GB, free: 8.539 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.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.288961479905993]