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.PIIntegralTime.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.00104/0.00104, 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.0009852/0.0009852, allocations: 173 kB / 23.49 MB, free: 1.059 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.117/2.117, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.905e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001652/0.001681, allocations: 0.9434 MB / 0.8791 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.002792, allocations: 0.9181 MB / 0.88 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.002856, allocations: 4 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.002895, allocations: 11.81 kB / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.002986, allocations: 20.92 kB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.239e-05/0.003069, allocations: 51.94 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.003212, allocations: 157.3 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.003379, allocations: 65.2 kB / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.003505, allocations: 91.8 kB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.003568, allocations: 48.86 kB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.003595, allocations: 16 kB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.003609, allocations: 20 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.003637, allocations: 37.52 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.003677, allocations: 43.89 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003813, allocations: 111.6 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003816, allocations: 3.938 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003817, allocations: 0.5 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.003822, allocations: 1.875 kB / 0.8807 GB, free: 4.07 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000439/0.004261, allocations: 472 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.004297, allocations: 12.03 kB / 0.8812 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.00435, allocations: 26.19 kB / 0.8812 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.004524, allocations: 160.3 kB / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.004539, allocations: 16.31 kB / 0.8813 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.004555, allocations: 13.31 kB / 0.8814 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.004769, allocations: 131.3 kB / 0.8815 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004776, allocations: 1.781 kB / 0.8815 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.00479, allocations: 8.375 kB / 0.8815 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.004801, allocations: 8.375 kB / 0.8815 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.004902, allocations: 57.14 kB / 0.8816 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.005382, allocations: 453.6 kB / 0.882 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.005652, allocations: 115.2 kB / 0.8821 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.005717, allocations: 50.34 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.005728, allocations: 10.09 kB / 0.8822 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.005749, allocations: 37.38 kB / 0.8822 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.005751, allocations: 0 / 0.8822 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002265/0.005978, allocations: 117.6 kB / 0.8823 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.006008, allocations: 55.41 kB / 0.8824 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.006086, allocations: 177.9 kB / 0.8825 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.006097, allocations: 26.42 kB / 0.8825 GB, free: 2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.006153, allocations: 167.1 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.006188, allocations: 48.73 kB / 0.8828 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.006228, allocations: 35.36 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006339, allocations: 0.4923 MB / 0.8833 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.006376, allocations: 19.94 kB / 0.8833 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.006408, allocations: 23.92 kB / 0.8833 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.006489, allocations: 55.56 kB / 0.8834 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006491, allocations: 0 / 0.8834 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00012/0.006611, allocations: 97.62 kB / 0.8835 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.006627, allocations: 11.94 kB / 0.8835 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006632, allocations: 0 / 0.8835 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006644, allocations: 0 / 0.8835 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.006745, allocations: 31.92 kB / 0.8835 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.006751, allocations: 0 / 0.8835 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.006784, allocations: 15.98 kB / 0.8835 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006789, allocations: 0 / 0.8835 GB, free: 0.9805 MB / 0.8386 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 (14): * Single equations (assignments): 14 * 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.72e-05/0.006876, allocations: 164.6 kB / 0.8837 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.0069, allocations: 11.95 kB / 0.8837 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.006934, allocations: 16.38 kB / 0.8837 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.006938, allocations: 4 kB / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.006944, allocations: 0 / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.00695, allocations: 3.984 kB / 0.8837 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.00711, allocations: 168.5 kB / 0.8839 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.007112, allocations: 0 / 0.8839 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.007194, allocations: 39.91 kB / 0.8839 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007196, allocations: 4 kB / 0.8839 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007207, allocations: 0 / 0.8839 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007209, allocations: 3.938 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00721, allocations: 0 / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.007378, allocations: 251.9 kB / 0.8842 GB, free: 268 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.007389, allocations: 15.94 kB / 0.8842 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.007401, allocations: 4 kB / 0.8842 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.007449, allocations: 11.94 kB / 0.8842 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.007496, allocations: 23.91 kB / 0.8842 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.007501, allocations: 0 / 0.8842 GB, free: 212 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.007542, allocations: 135.2 kB / 0.8843 GB, free: 76 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007542, allocations: 4 kB / 0.8843 GB, free: 72 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001628/0.007705, allocations: 27.89 kB / 0.8844 GB, free: 44 kB / 0.8386 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 (14): * Single equations (assignments): 14 * 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.0001003/0.007805, allocations: 107.2 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.007939, allocations: 67.55 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007941, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.00799, allocations: 47.05 kB / 0.8846 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.008225, allocations: 27.92 kB / 0.8846 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.008652, allocations: 262.8 kB / 0.8849 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.008696, allocations: 67.34 kB / 0.8849 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.008739, allocations: 12.48 kB / 0.8849 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.008776, allocations: 16.5 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.008777, allocations: 0 / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.00305/0.01183, allocations: 1.191 MB / 0.8861 GB, free: 14.27 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.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.502949489979073]