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.PIDIntegralTime.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.001004/0.001004, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001034/0.001034, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9951/0.9951, allocations: 177.1 MB / 204.2 MB, free: 5.285 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.841/1.841, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.727e-06, allocations: 3.984 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.992e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.01074/0.01077, allocations: 0.8598 MB / 0.8124 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.01174, allocations: 0.8907 MB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.01179, allocations: 0 / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.01183, allocations: 8.844 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.378e-05/0.01192, allocations: 11.88 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.24e-05/0.01199, allocations: 36.73 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.01212, allocations: 115.7 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.01225, allocations: 39.25 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.01236, allocations: 71.81 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.01242, allocations: 31.89 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.01244, allocations: 12 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.01245, allocations: 13.53 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.01248, allocations: 27.91 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.01251, allocations: 23.92 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.01262, allocations: 71.73 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01262, allocations: 9.688 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01262, allocations: 0 / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.01263, allocations: 3.938 kB / 0.8137 GB, free: 15.49 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004613/0.01309, allocations: 428.3 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01313, allocations: 8.719 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.01317, allocations: 16.89 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.0133, allocations: 141.3 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006019/0.01932, allocations: 4.375 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.01934, allocations: 13.97 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.01954, allocations: 105.3 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01955, allocations: 192 / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01956, allocations: 4.375 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01957, allocations: 6.969 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.01965, allocations: 35.91 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.02004, allocations: 367.2 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.02025, allocations: 87.08 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.0203, allocations: 32.2 kB / 0.8149 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.02031, allocations: 0 / 0.8149 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.02034, allocations: 38.11 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.02034, allocations: 0 / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002027/0.02054, allocations: 90.23 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.02057, allocations: 57.06 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.02065, allocations: 173.9 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.02066, allocations: 29.7 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.02071, allocations: 150.7 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.02074, allocations: 28.25 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.02078, allocations: 27.36 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.021, allocations: 0.4928 MB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.02104, allocations: 16.7 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.02107, allocations: 12 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.481e-05/0.02113, allocations: 36.83 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02113, allocations: 0 / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001157/0.02125, allocations: 77.53 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.02126, allocations: 6.656 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.02127, allocations: 5.359 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.02128, allocations: 0 / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.02137, allocations: 19.98 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.02137, allocations: 4.625 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.02141, allocations: 13.08 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.02142, allocations: 3.938 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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.345e-05/0.02149, allocations: 165.5 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.02152, allocations: 11.95 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.02155, allocations: 12.42 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02155, allocations: 4.844 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02155, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.02156, allocations: 2.219 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.0217, allocations: 148.5 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0217, allocations: 0 / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.02177, allocations: 23.98 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02177, allocations: 4 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.02178, allocations: 0 / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.02178, allocations: 2.781 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02178, allocations: 0 / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.02194, allocations: 231.8 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.02196, allocations: 11.89 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.02197, allocations: 3.984 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.02203, allocations: 4 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.02207, allocations: 11.98 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.02208, allocations: 1.531 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003063/0.02514, allocations: 135.2 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02514, allocations: 3.938 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002217/0.02536, allocations: 16 kB / 0.8169 GB, free: 11.97 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 (9): * Single equations (assignments): 9 * 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 9.174e-05/0.02546, allocations: 104.3 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.02558, allocations: 52.09 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02558, allocations: 1.375 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.02562, allocations: 28.56 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.02589, allocations: 21.08 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.0263, allocations: 215.4 kB / 0.8173 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.375e-05/0.02634, allocations: 70.89 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.02638, allocations: 7.984 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.02641, allocations: 12.5 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.02642, allocations: 0 / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.006157/0.03257, allocations: 1.141 MB / 0.8185 GB, free: 10.35 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.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.0711809089407325]