Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001477/0.001477, 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.00216/0.00216, 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 1.041/1.041, allocations: 177.1 MB / 204.2 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.921/1.921, allocations: 377.9 MB / 0.6236 GB, free: 8.531 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.59e-05/3.944e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003018/0.003058, allocations: 1.209 MB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004563, allocations: 1.012 MB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.004686, allocations: 4.875 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.209e-05/0.004758, allocations: 27.66 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.004905, allocations: 36.88 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.005069, allocations: 95.84 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.005306, allocations: 316.2 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.005508, allocations: 138 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.005655, allocations: 172.3 kB / 0.8145 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.005737, allocations: 92.56 kB / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.005773, allocations: 36 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.0058, allocations: 37.25 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.005837, allocations: 59.83 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.005899, allocations: 87.8 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.006088, allocations: 199.2 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006091, allocations: 5.594 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006092, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006097, allocations: 0 / 0.815 GB, free: 14.23 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005366/0.006633, allocations: 0.5522 MB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.006668, allocations: 17.5 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.006745, allocations: 52.75 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.007032, allocations: 207.3 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.007056, allocations: 21.03 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.007094, allocations: 25.19 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.007485, allocations: 204.2 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.0075, allocations: 192 / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.007521, allocations: 8.375 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.007534, allocations: 9.094 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.007756, allocations: 87.81 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.008475, allocations: 0.639 MB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.008734, allocations: 148.1 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.008807, allocations: 51.66 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.008852, allocations: 4.562 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.008875, allocations: 41.39 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.053e-06/0.008877, allocations: 1.125 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0002568/0.009134, allocations: 157.8 kB / 0.8171 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.009158, allocations: 51.41 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.009257, allocations: 197.6 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.009272, allocations: 29.7 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.009357, allocations: 211.2 kB / 0.8176 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.009395, allocations: 67.42 kB / 0.8176 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.009445, allocations: 43.36 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.009562, allocations: 0.4928 MB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.009608, allocations: 27.42 kB / 0.8182 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.009671, allocations: 51.28 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.009813, allocations: 89.5 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009814, allocations: 0 / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001597/0.009974, allocations: 138.7 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.009985, allocations: 7.938 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.009989, allocations: 0 / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01, allocations: 4 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.01012, allocations: 44.97 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01013, allocations: 4.531 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.01018, allocations: 20.44 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01018, allocations: 8 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.772e-05/0.01026, allocations: 165.9 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.01029, allocations: 23.91 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.01032, allocations: 17.12 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01032, allocations: 8.516 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01033, allocations: 0.625 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01033, allocations: 0 / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.01049, allocations: 210.4 kB / 0.819 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.0105, allocations: 0 / 0.819 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.01059, allocations: 47.92 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01059, allocations: 0 / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.0106, allocations: 0.625 kB / 0.819 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.0106, allocations: 4 kB / 0.819 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01061, allocations: 8.797 kB / 0.819 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01089, allocations: 285.8 kB / 0.8193 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.0109, allocations: 12.83 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.01091, allocations: 0 / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.01097, allocations: 17.33 kB / 0.8193 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.01102, allocations: 15.97 kB / 0.8193 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01103, allocations: 8 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.181e-05/0.01108, allocations: 145.2 kB / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0.875 kB / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001673/0.01124, allocations: 51.78 kB / 0.8195 GB, free: 9.301 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 (20): * Single equations (assignments): 20 * 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.278e-05/0.01133, allocations: 113.3 kB / 0.8196 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.0115, allocations: 95.53 kB / 0.8197 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.0115, allocations: 0 / 0.8197 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.01156, allocations: 58.75 kB / 0.8198 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.01179, allocations: 37.05 kB / 0.8198 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.01231, allocations: 396.4 kB / 0.8202 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.01236, allocations: 76.33 kB / 0.8203 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.01241, allocations: 21.83 kB / 0.8203 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.01245, allocations: 16.5 kB / 0.8203 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of SimCode: time 5e-07/0.01246, allocations: 0 / 0.8203 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of Templates: time 0.0034/0.01585, allocations: 1.738 MB / 0.822 GB, free: 6.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.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.518193698953837]