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.001532/0.001532, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001889/0.001889, allocations: 169 kB / 24.28 MB, free: 280 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.952/1.952, allocations: 377.8 MB / 0.6239 GB, free: 8.512 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.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 1.843e-06/1.843e-06, allocations: 0 / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.843e-05, allocations: 5.453 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001519/0.001547, allocations: 0.8446 MB / 0.8124 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.00241, allocations: 0.8916 MB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.002463, allocations: 4 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.0025, allocations: 11.86 kB / 0.8133 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.002591, allocations: 9.031 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.656e-05/0.002667, allocations: 35.95 kB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.002779, allocations: 111.8 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.002912, allocations: 46.23 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.003047, allocations: 63.91 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.0031, allocations: 36.72 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.003132, allocations: 15.94 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.003142, allocations: 8.656 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.003167, allocations: 27.91 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.003201, allocations: 29.22 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.00331, allocations: 71.73 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003313, allocations: 0 / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003314, allocations: 0.9688 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.003319, allocations: 0 / 0.8137 GB, free: 15.81 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.0004216/0.00374, allocations: 433 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.003782, allocations: 12.88 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.00383, allocations: 16.89 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.004008, allocations: 145.7 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.004021, allocations: 8.375 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.004035, allocations: 12.38 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.004209, allocations: 107.2 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004216, allocations: 192 / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004228, allocations: 8.312 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.004237, allocations: 4.375 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.004308, allocations: 35.91 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.004687, allocations: 368.3 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.004886, allocations: 88.25 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.004936, allocations: 27.67 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.004944, allocations: 0 / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004966, allocations: 37.92 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 9.31e-07/0.004966, allocations: 0.8438 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001836/0.00515, allocations: 85.7 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.005183, allocations: 57.09 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.005261, allocations: 177.9 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005271, allocations: 25.7 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.005325, allocations: 154.7 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.005351, allocations: 27.75 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.005386, allocations: 32.89 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.005502, allocations: 0.4883 MB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.00553, allocations: 11.98 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.005554, allocations: 15.94 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.00561, allocations: 36.17 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.005613, allocations: 1.594 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.031e-05/0.005703, allocations: 73.59 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.005716, allocations: 10.8 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00572, allocations: 0 / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.005733, allocations: 0 / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.005808, allocations: 24.89 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.005813, allocations: 1.688 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.005843, allocations: 11.89 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.00585, allocations: 11.94 kB / 0.8162 GB, free: 13.11 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 7e-05/0.00592, allocations: 160.5 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.005938, allocations: 8.625 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.005969, allocations: 16.42 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005971, allocations: 0.6875 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.005975, allocations: 4.562 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005979, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.0061, allocations: 153.5 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006101, allocations: 0 / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.006159, allocations: 24.52 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.006162, allocations: 3.984 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.00617, allocations: 5.344 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006171, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006172, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.00631, allocations: 228.6 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.00632, allocations: 7.953 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.006333, allocations: 7.984 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.006373, allocations: 4.938 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.006419, allocations: 11.98 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006424, allocations: 5.344 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.006464, allocations: 135.6 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006464, allocations: 0 / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001481/0.006612, allocations: 16.69 kB / 0.8169 GB, free: 12.27 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 8.55e-05/0.006698, allocations: 105.1 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.006821, allocations: 51.53 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006823, allocations: 4 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.006859, allocations: 24.62 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.007075, allocations: 24.53 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.007455, allocations: 212.3 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.007494, allocations: 68.38 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.007526, allocations: 8.609 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.007558, allocations: 17.25 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.007559, allocations: 1.219 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.002879/0.01044, allocations: 1.061 MB / 0.8184 GB, free: 10.74 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.316694624954835]