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.0009817/0.0009817, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001543/0.001543, allocations: 169.4 kB / 24.06 MB, free: 456 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.149/2.149, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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 2.585e-06/2.585e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.129e-05, allocations: 5.266 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.005823/0.005855, allocations: 1.256 MB / 0.8806 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.0106, allocations: 1.031 MB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.01084, allocations: 5.094 kB / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.01095, allocations: 35.59 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.01117, allocations: 36.25 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.0114, allocations: 116.9 kB / 0.8818 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.01179, allocations: 356.3 kB / 0.8822 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.01214, allocations: 162.5 kB / 0.8823 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.01243, allocations: 204.3 kB / 0.8825 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.01256, allocations: 96.31 kB / 0.8826 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.01261, allocations: 44 kB / 0.8826 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.01266, allocations: 47.44 kB / 0.8827 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.01272, allocations: 83.73 kB / 0.8828 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.01281, allocations: 99.75 kB / 0.8829 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.01621, allocations: 243 kB / 0.8831 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.01622, allocations: 0 / 0.8831 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01622, allocations: 0 / 0.8831 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.01622, allocations: 0 / 0.8831 GB, free: 2.234 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.0007868/0.01701, allocations: 0.587 MB / 0.8837 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.01706, allocations: 9.031 kB / 0.8837 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.01716, allocations: 56.75 kB / 0.8837 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.01743, allocations: 210.5 kB / 0.8839 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.01746, allocations: 25.69 kB / 0.884 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.0175, allocations: 32.38 kB / 0.884 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.01793, allocations: 204.9 kB / 0.8842 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.01794, allocations: 192 / 0.8842 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.01797, allocations: 16.38 kB / 0.8842 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.01799, allocations: 12.38 kB / 0.8842 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.01817, allocations: 88.39 kB / 0.8843 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.02232, allocations: 0.711 MB / 0.885 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.02268, allocations: 180 kB / 0.8852 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.02279, allocations: 59.64 kB / 0.8852 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.02282, allocations: 4 kB / 0.8852 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.02284, allocations: 37.33 kB / 0.8853 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 2.956e-06/0.02285, allocations: 0 / 0.8853 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.0003583/0.0232, allocations: 175.6 kB / 0.8854 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.02324, allocations: 55.41 kB / 0.8855 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.02337, allocations: 196.2 kB / 0.8857 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.02339, allocations: 33.7 kB / 0.8857 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.02352, allocations: 215.2 kB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.02359, allocations: 83.27 kB / 0.886 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.02367, allocations: 55.58 kB / 0.886 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.02383, allocations: 0.5 MB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.02389, allocations: 20.45 kB / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.02397, allocations: 68.81 kB / 0.8866 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.02412, allocations: 98.97 kB / 0.8867 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02412, allocations: 0 / 0.8867 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002388/0.02436, allocations: 145.5 kB / 0.8868 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.02438, allocations: 4 kB / 0.8868 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.02438, allocations: 4.062 kB / 0.8868 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.02439, allocations: 4 kB / 0.8868 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.02462, allocations: 59.91 kB / 0.8869 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.02462, allocations: 0 / 0.8869 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.02773, allocations: 27.88 kB / 0.8869 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.02775, allocations: 0 / 0.8869 GB, free: 14.08 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 0.0001461/0.0279, allocations: 172.5 kB / 0.8871 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.02795, allocations: 19.91 kB / 0.8871 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.028, allocations: 33.27 kB / 0.8871 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.02801, allocations: 0 / 0.8871 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.02801, allocations: 4 kB / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02802, allocations: 0 / 0.8872 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.0283, allocations: 193 kB / 0.8873 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.02831, allocations: 3.938 kB / 0.8873 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.02851, allocations: 55.91 kB / 0.8874 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.02851, allocations: 4 kB / 0.8874 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.02852, allocations: 4 kB / 0.8874 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.02852, allocations: 0 / 0.8874 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02853, allocations: 4 kB / 0.8874 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.02882, allocations: 296.1 kB / 0.8877 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.02884, allocations: 27.7 kB / 0.8877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.02886, allocations: 8 kB / 0.8877 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.02897, allocations: 15.98 kB / 0.8877 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.02903, allocations: 15.97 kB / 0.8878 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.02904, allocations: 11.94 kB / 0.8878 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.094e-05/0.02911, allocations: 143.1 kB / 0.8879 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02911, allocations: 0 / 0.8879 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003333/0.02944, allocations: 63.73 kB / 0.888 GB, free: 12.97 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.000131/0.02958, allocations: 99.25 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.0298, allocations: 115.9 kB / 0.8882 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0298, allocations: 0 / 0.8882 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.02989, allocations: 59.59 kB / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.03026, allocations: 31.92 kB / 0.8883 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.03308, allocations: 440.5 kB / 0.8887 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.03314, allocations: 83.97 kB / 0.8888 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.874e-05/0.03323, allocations: 17.48 kB / 0.8888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.03334, allocations: 98.19 kB / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.03334, allocations: 0 / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.004606/0.03795, allocations: 2.092 MB / 0.8909 GB, free: 9.953 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.539395886939019]