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.001483/0.001483, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0019/0.0019, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9496/0.9496, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.895/1.895, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.968e-06/3.968e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.671e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002604/0.002641, allocations: 0.9603 MB / 0.8125 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003749, allocations: 0.9144 MB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.003817, allocations: 4 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.003865, allocations: 17.55 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003978, allocations: 19.73 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.004078, allocations: 55.89 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004242, allocations: 152.2 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.004431, allocations: 73.98 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.004567, allocations: 87.86 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.004635, allocations: 48.47 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.004665, allocations: 17.38 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.004685, allocations: 20 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.004714, allocations: 31.91 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.004759, allocations: 47.83 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.004908, allocations: 108.9 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004911, allocations: 0 / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.893e-06/0.004913, allocations: 0 / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.00492, allocations: 0 / 0.8141 GB, free: 15.16 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.0005432/0.005463, allocations: 465.7 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.005512, allocations: 8.031 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.005575, allocations: 33.45 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.00575, allocations: 152.4 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.005766, allocations: 17.06 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.005784, allocations: 12.38 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.006015, allocations: 135.9 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.006025, allocations: 192 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.006042, allocations: 14.44 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.006053, allocations: 4.375 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.006147, allocations: 51.89 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.006663, allocations: 451.8 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.006952, allocations: 119.1 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.007017, allocations: 40.7 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.007029, allocations: 4 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.007054, allocations: 38.11 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.007056, allocations: 0 / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.000228/0.007284, allocations: 122.5 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.007321, allocations: 55.41 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.007407, allocations: 174.8 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.007422, allocations: 29.7 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.007487, allocations: 167.1 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.007525, allocations: 52.05 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.007567, allocations: 36.75 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.007693, allocations: 0.4923 MB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.00773, allocations: 12 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.007759, allocations: 22.73 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.874e-05/0.007837, allocations: 64.89 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00784, allocations: 0 / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001312/0.007971, allocations: 89.64 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.00799, allocations: 8.594 kB / 0.8168 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.007996, allocations: 4 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.008012, allocations: 0.7188 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.008124, allocations: 29.52 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.008129, allocations: 0 / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.008166, allocations: 19.94 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.008172, allocations: 0 / 0.8169 GB, free: 12.09 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.173e-05/0.008264, allocations: 166 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.008287, allocations: 11.95 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.008323, allocations: 20.38 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.008328, allocations: 4.609 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.008334, allocations: 4 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008338, allocations: 1.75 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.008496, allocations: 172.5 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008498, allocations: 3.938 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.008581, allocations: 27.98 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.008585, allocations: 1.062 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008594, allocations: 8 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.008599, allocations: 7.875 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.008601, allocations: 1.531 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.00881, allocations: 248.8 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.008823, allocations: 7.953 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.008846, allocations: 4 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.008896, allocations: 12.47 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.008955, allocations: 16.59 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.00896, allocations: 0.5312 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.009014, allocations: 135.2 kB / 0.8177 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009014, allocations: 0.9062 kB / 0.8177 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001576/0.009172, allocations: 27.89 kB / 0.8177 GB, free: 11.16 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.0001084/0.00928, allocations: 108 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.009434, allocations: 66.75 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.009437, allocations: 4 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.009486, allocations: 43.61 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.009724, allocations: 25.16 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.01019, allocations: 275.8 kB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.665e-05/0.01024, allocations: 68.22 kB / 0.8183 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.553e-05/0.01028, allocations: 11.95 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.01032, allocations: 16.5 kB / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.01033, allocations: 0 / 0.8183 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.003495/0.01382, allocations: 1.264 MB / 0.8195 GB, free: 9.332 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.308104120660573]