Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.0009865/0.0009865, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009579/0.0009579, allocations: 177 kB / 23.5 MB, free: 1.051 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.124/2.124, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.907e-06/3.907e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.768e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002127/0.002165, allocations: 1.269 MB / 0.8794 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003562, allocations: 1.043 MB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.003678, allocations: 4 kB / 0.8805 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.628e-05/0.003744, allocations: 31.59 kB / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.003882, allocations: 32.83 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.004033, allocations: 117.9 kB / 0.8806 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.004322, allocations: 356.3 kB / 0.881 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.004607, allocations: 158.5 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.004804, allocations: 203.6 kB / 0.8813 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.004901, allocations: 99.67 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.004945, allocations: 46.53 kB / 0.8815 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.004974, allocations: 44 kB / 0.8815 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.00503, allocations: 91.73 kB / 0.8816 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.005099, allocations: 95.75 kB / 0.8817 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.005346, allocations: 243.1 kB / 0.8819 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.005351, allocations: 3.938 kB / 0.8819 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.005352, allocations: 0.7188 kB / 0.8819 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.005357, allocations: 0 / 0.8819 GB, free: 2.848 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006475/0.006005, allocations: 0.5837 MB / 0.8825 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.006059, allocations: 12.53 kB / 0.8825 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.672e-05/0.006146, allocations: 58.47 kB / 0.8825 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.006427, allocations: 216.8 kB / 0.8828 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.006454, allocations: 29.03 kB / 0.8828 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.006484, allocations: 28.38 kB / 0.8828 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.006846, allocations: 228.7 kB / 0.883 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.006856, allocations: 192 / 0.883 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.006879, allocations: 16.38 kB / 0.883 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.006889, allocations: 5.969 kB / 0.883 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.007074, allocations: 111.8 kB / 0.8832 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.007896, allocations: 0.7456 MB / 0.8839 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.008241, allocations: 191.2 kB / 0.8841 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.008342, allocations: 70.58 kB / 0.8841 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.008355, allocations: 7.984 kB / 0.8841 GB, free: 460 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.008379, allocations: 33.39 kB / 0.8842 GB, free: 416 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.008381, allocations: 7.938 kB / 0.8842 GB, free: 408 kB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003254/0.008706, allocations: 187.2 kB / 0.8844 GB, free: 216 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.008742, allocations: 59.41 kB / 0.8844 GB, free: 144 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.00903, allocations: 199.7 kB / 0.8846 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.009045, allocations: 29.7 kB / 0.8846 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.009138, allocations: 215.2 kB / 0.8848 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.009183, allocations: 87.28 kB / 0.8849 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.009237, allocations: 43.59 kB / 0.885 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.009354, allocations: 0.5 MB / 0.8855 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.009414, allocations: 36.44 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.009493, allocations: 73.08 kB / 0.8856 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.00963, allocations: 115.1 kB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.009632, allocations: 0 / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002056/0.009838, allocations: 169.4 kB / 0.8858 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.009858, allocations: 4 kB / 0.8858 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.009868, allocations: 8 kB / 0.8858 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.009883, allocations: 0 / 0.8858 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01004, allocations: 59.91 kB / 0.8859 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01005, allocations: 4.062 kB / 0.8859 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.01011, allocations: 23.88 kB / 0.8859 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01012, allocations: 8 kB / 0.8859 GB, free: 14.51 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.461e-05/0.01021, allocations: 172.5 kB / 0.8861 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.01025, allocations: 23.91 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.01028, allocations: 17.28 kB / 0.8861 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01029, allocations: 4 kB / 0.8861 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.0103, allocations: 3.984 kB / 0.8861 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.0103, allocations: 0 / 0.8861 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.01051, allocations: 232.4 kB / 0.8864 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.01051, allocations: 7.984 kB / 0.8864 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.01064, allocations: 51.92 kB / 0.8864 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01064, allocations: 0 / 0.8864 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01065, allocations: 4 kB / 0.8864 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01066, allocations: 4 kB / 0.8864 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01066, allocations: 3.984 kB / 0.8864 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.01091, allocations: 307.9 kB / 0.8867 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.01093, allocations: 27.83 kB / 0.8868 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01095, allocations: 4 kB / 0.8868 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.01101, allocations: 12 kB / 0.8868 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.01107, allocations: 27.89 kB / 0.8868 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01108, allocations: 4 kB / 0.8868 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.01114, allocations: 144.5 kB / 0.8869 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 0.8869 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001928/0.01133, allocations: 63.73 kB / 0.887 GB, free: 13.35 MB / 0.8542 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 (25): * Single equations (assignments): 25 * 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.0001101/0.01144, allocations: 103.2 kB / 0.8871 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.01165, allocations: 120.5 kB / 0.8872 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01165, allocations: 4.125 kB / 0.8872 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.01173, allocations: 83.45 kB / 0.8873 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01201, allocations: 34.17 kB / 0.8873 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.01268, allocations: 447.3 kB / 0.8878 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.01274, allocations: 79.98 kB / 0.8878 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.426e-05/0.01281, allocations: 21.47 kB / 0.8878 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.01286, allocations: 20.5 kB / 0.8879 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.01286, allocations: 0 / 0.8879 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.004033/0.01689, allocations: 1.836 MB / 0.8897 GB, free: 10.62 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.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.658409041119739]