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.PIIntegralTime.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.001083/0.001083, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001206/0.001206, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.043/1.043, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.969/1.969, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.468e-05, allocations: 2.875 kB / 0.8115 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002436/0.002471, allocations: 0.9487 MB / 0.8125 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003826, allocations: 0.9231 MB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.003912, allocations: 4 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.523e-05/0.003967, allocations: 15.8 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.004082, allocations: 11.81 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.004193, allocations: 59.86 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.004406, allocations: 153.4 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.004619, allocations: 71.59 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.004775, allocations: 87.86 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.004859, allocations: 49.03 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.0049, allocations: 23.98 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.00492, allocations: 16 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.004958, allocations: 33.09 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.005019, allocations: 47.91 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.005197, allocations: 114.6 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.0052, allocations: 0.75 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005202, allocations: 0 / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.005206, allocations: 1.344 kB / 0.814 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005842/0.00579, allocations: 468.6 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.005839, allocations: 9.969 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.005912, allocations: 32.8 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.00616, allocations: 156.4 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.006177, allocations: 8.375 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.0062, allocations: 16.38 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.006487, allocations: 138 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006497, allocations: 4.125 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.006516, allocations: 4.375 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.006527, allocations: 4.375 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.006673, allocations: 57.34 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.007304, allocations: 452.2 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.007649, allocations: 111.7 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.007732, allocations: 39.67 kB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.007744, allocations: 5.312 kB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.007771, allocations: 41.33 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.007773, allocations: 0 / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.000319/0.008092, allocations: 126.3 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.00813, allocations: 52.78 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.008239, allocations: 173.9 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.008257, allocations: 29.7 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.008331, allocations: 167.1 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.008382, allocations: 56.41 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.008435, allocations: 35.38 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.008576, allocations: 0.4892 MB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.008626, allocations: 15.98 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.673e-05/0.008672, allocations: 16 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.008782, allocations: 62.39 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008784, allocations: 0 / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001732/0.008957, allocations: 97.64 kB / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.008976, allocations: 8.781 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008981, allocations: 0 / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.008996, allocations: 1.219 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.00914, allocations: 31.98 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.009147, allocations: 3.984 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.009196, allocations: 9.266 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.009208, allocations: 11.94 kB / 0.8168 GB, free: 12.41 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 (14): * Single equations (assignments): 14 * 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 9.149e-05/0.009299, allocations: 158.3 kB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.009333, allocations: 11.95 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.009373, allocations: 28.36 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.009375, allocations: 0 / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.00938, allocations: 3.984 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.009384, allocations: 2.656 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.009581, allocations: 172.5 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.009584, allocations: 4 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.009701, allocations: 27.98 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.009704, allocations: 0 / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.009716, allocations: 7.938 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.009719, allocations: 8.375 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.00972, allocations: 4 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.009945, allocations: 252.3 kB / 0.8175 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.009956, allocations: 7.953 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.009973, allocations: 1.344 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.01006, allocations: 15.92 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.01011, allocations: 7.984 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01012, allocations: 8 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.01018, allocations: 132 kB / 0.8177 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01018, allocations: 0 / 0.8177 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002832/0.01046, allocations: 33.23 kB / 0.8177 GB, free: 11.49 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 (14): * Single equations (assignments): 14 * 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.0001074/0.01057, allocations: 107.2 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.01075, allocations: 60.56 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01075, allocations: 0 / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.01082, allocations: 48.25 kB / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.01115, allocations: 24.39 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.0117, allocations: 270.8 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.01176, allocations: 75.08 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.01182, allocations: 7.062 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.01187, allocations: 16.5 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.01187, allocations: 4.875 kB / 0.8183 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of Templates: time 0.004085/0.01596, allocations: 1.201 MB / 0.8195 GB, free: 9.711 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.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.3854392969515175]