Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001001/0.001001, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001044/0.001044, allocations: 169 kB / 23.02 MB, free: 1.551 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.9527/0.9527, allocations: 177.1 MB / 203.4 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.076/2.076, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.977e-06/3.977e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.507e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001948/0.001983, allocations: 0.9919 MB / 0.8792 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003156, allocations: 0.9209 MB / 0.8801 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.003229, allocations: 5.219 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.003281, allocations: 19.73 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.003395, allocations: 20.77 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.003512, allocations: 55.94 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.003697, allocations: 169.6 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.003889, allocations: 68.89 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.004037, allocations: 99.84 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.004109, allocations: 51.8 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.004144, allocations: 21.31 kB / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.004159, allocations: 16 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.004196, allocations: 43.83 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.004246, allocations: 51.89 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.004412, allocations: 116.5 kB / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.004416, allocations: 0 / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004418, allocations: 0 / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.004424, allocations: 3.406 kB / 0.8808 GB, free: 3.656 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004894/0.004913, allocations: 488.3 kB / 0.8812 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.004955, allocations: 8.031 kB / 0.8813 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.005012, allocations: 36.73 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.005163, allocations: 155.2 kB / 0.8814 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.005176, allocations: 12.7 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005195, allocations: 20.38 kB / 0.8815 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.005439, allocations: 145.4 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005447, allocations: 192 / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.005462, allocations: 4.375 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005471, allocations: 4.375 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.005567, allocations: 60.48 kB / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.006107, allocations: 467.1 kB / 0.8821 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.006256, allocations: 95.03 kB / 0.8822 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.006315, allocations: 39.67 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.00633, allocations: 7.938 kB / 0.8823 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.006361, allocations: 37.33 kB / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.006363, allocations: 0 / 0.8823 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002408/0.006603, allocations: 109.6 kB / 0.8824 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.006638, allocations: 55.41 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.006736, allocations: 188.9 kB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.006751, allocations: 25.7 kB / 0.8826 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.006833, allocations: 187 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.006858, allocations: 39.64 kB / 0.8829 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.006903, allocations: 35.38 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.007044, allocations: 0.4884 MB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.007083, allocations: 19.98 kB / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.007142, allocations: 54.98 kB / 0.8834 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.007229, allocations: 67.31 kB / 0.8835 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.007232, allocations: 3.938 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001518/0.007384, allocations: 120.3 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.0074, allocations: 4 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.007404, allocations: 0 / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.007421, allocations: 4 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.007542, allocations: 35.92 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007548, allocations: 0 / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.007597, allocations: 23.88 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.007605, allocations: 4 kB / 0.8837 GB, free: 448 kB / 0.8386 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 (15): * Single equations (assignments): 15 * 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 8.436e-05/0.007689, allocations: 164.5 kB / 0.8839 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.007714, allocations: 19.92 kB / 0.8839 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.007748, allocations: 20.77 kB / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.007751, allocations: 0 / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007755, allocations: 0 / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007757, allocations: 0 / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.007901, allocations: 172.5 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007902, allocations: 0 / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.007975, allocations: 23.98 kB / 0.8841 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/0.007993, allocations: 7.984 kB / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.008003, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008004, allocations: 0 / 0.8841 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008006, allocations: 4 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.00818, allocations: 251.8 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.008192, allocations: 11.89 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.008208, allocations: 3.938 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.008263, allocations: 15.98 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.008321, allocations: 15.97 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008326, allocations: 0 / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.008377, allocations: 142.4 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008378, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001694/0.008547, allocations: 31.89 kB / 0.8845 GB, free: 15.51 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 (13): * Single equations (assignments): 13 * 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.0001103/0.008657, allocations: 107.2 kB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.00882, allocations: 63.59 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008822, allocations: 0 / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.008873, allocations: 50.48 kB / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.009116, allocations: 25.81 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.009635, allocations: 286.8 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.967e-05/0.009685, allocations: 63.34 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.943e-05/0.009734, allocations: 12.48 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.009777, allocations: 20.5 kB / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.009778, allocations: 0 / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.003647/0.01343, allocations: 1.536 MB / 0.8866 GB, free: 13.36 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.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.267527532763779]