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.0009955/0.0009955, 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.001045/0.001045, allocations: 169 kB / 23.03 MB, free: 1.547 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.9076/0.9076, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.004/2.004, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 1.854e-06/1.854e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.766e-05, allocations: 6.438 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001402/0.00142, allocations: 0.9561 MB / 0.8791 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.002321, allocations: 0.9181 MB / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.002378, allocations: 0 / 0.88 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.00242, allocations: 16.98 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.548e-05/0.002515, allocations: 19.8 kB / 0.8801 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.549e-05/0.0026, allocations: 51.27 kB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.002736, allocations: 160.2 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.002877, allocations: 65.2 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.002986, allocations: 99.73 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.003041, allocations: 43.88 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.003067, allocations: 16 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.003081, allocations: 16 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.003145, allocations: 35.84 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.003183, allocations: 47.89 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003298, allocations: 104.2 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.0033, allocations: 1.594 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.0033, allocations: 0 / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.003304, allocations: 0 / 0.8807 GB, free: 3.723 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.0004182/0.003723, allocations: 468.5 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.003758, allocations: 13.34 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.003805, allocations: 28.78 kB / 0.8812 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.003942, allocations: 160.4 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.003953, allocations: 8.375 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.003969, allocations: 17.25 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.004168, allocations: 137.6 kB / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004176, allocations: 192 / 0.8815 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.004189, allocations: 8.359 kB / 0.8815 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004197, allocations: 4.375 kB / 0.8815 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.004288, allocations: 61.31 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.004728, allocations: 444.5 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.004964, allocations: 115.1 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.005018, allocations: 39.91 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.005029, allocations: 12 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.00505, allocations: 41.39 kB / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.005051, allocations: 0 / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0001983/0.005249, allocations: 117.5 kB / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.005275, allocations: 55.41 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.005342, allocations: 169.9 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005354, allocations: 29.7 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.005407, allocations: 167.1 kB / 0.8827 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.005439, allocations: 51.52 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.005476, allocations: 35.38 kB / 0.8828 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.005575, allocations: 0.4923 MB / 0.8833 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.005608, allocations: 19.98 kB / 0.8833 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.005635, allocations: 15 kB / 0.8833 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/0.005703, allocations: 59.67 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005705, allocations: 0 / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001057/0.00581, allocations: 97.58 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.005823, allocations: 9.969 kB / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005827, allocations: 3.938 kB / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005838, allocations: 0 / 0.8834 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.005926, allocations: 31.98 kB / 0.8835 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.00593, allocations: 4 kB / 0.8835 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.005963, allocations: 15.98 kB / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.005969, allocations: 4 kB / 0.8835 GB, free: 0.6367 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 6.872e-05/0.006038, allocations: 160.5 kB / 0.8837 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.006057, allocations: 15.95 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.006082, allocations: 20.38 kB / 0.8837 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.006085, allocations: 3.984 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.006089, allocations: 0 / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006092, allocations: 0 / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.006208, allocations: 168.5 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006209, allocations: 4 kB / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.727e-05/0.006276, allocations: 35.98 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.006277, allocations: 0 / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006284, allocations: 0 / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006286, allocations: 3.938 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.006287, allocations: 4 kB / 0.8839 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.006444, allocations: 254.8 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.006453, allocations: 11.95 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.006466, allocations: 4 kB / 0.8842 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.00651, allocations: 11.92 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.006553, allocations: 15.98 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.006558, allocations: 4 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.006595, allocations: 135.2 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006595, allocations: 0 / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001475/0.006743, allocations: 31.89 kB / 0.8843 GB, free: 15.7 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 (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 6.456e-05/0.006807, allocations: 95.25 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.006923, allocations: 75.59 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.006924, allocations: 0 / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.00697, allocations: 47.61 kB / 0.8846 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.007164, allocations: 17.41 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.007531, allocations: 274.8 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.007566, allocations: 67.09 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.007606, allocations: 16.47 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.007639, allocations: 16.5 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of SimCode: time 6.82e-07/0.00764, allocations: 0 / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.002713/0.01035, allocations: 1.261 MB / 0.8862 GB, free: 13.84 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.037158478982747]