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.001064/0.001064, allocations: 73.88 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.001175/0.001175, allocations: 169 kB / 24.06 MB, free: 452 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.122/2.122, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.224e-06/2.224e-06, allocations: 0 / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.066e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.00226/0.002291, allocations: 0.9448 MB / 0.8803 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003478, allocations: 0.9181 MB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.003538, allocations: 4 kB / 0.8812 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.003578, allocations: 16.83 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.003675, allocations: 11.81 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.067e-05/0.003756, allocations: 57.25 kB / 0.8813 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003885, allocations: 152.2 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.004042, allocations: 69.2 kB / 0.8815 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.004162, allocations: 91.8 kB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.004221, allocations: 45.25 kB / 0.8817 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.004249, allocations: 20 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.004262, allocations: 16 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.004292, allocations: 43.02 kB / 0.8817 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.004323, allocations: 39.91 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004445, allocations: 115.5 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004448, allocations: 0 / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004449, allocations: 0 / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004453, allocations: 0 / 0.8819 GB, free: 3.461 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.000459/0.004912, allocations: 464 kB / 0.8823 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.004951, allocations: 12.61 kB / 0.8823 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.004994, allocations: 34.5 kB / 0.8824 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.005152, allocations: 152.4 kB / 0.8825 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.005165, allocations: 12.38 kB / 0.8825 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.00518, allocations: 12.38 kB / 0.8825 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.005378, allocations: 128.6 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.005387, allocations: 1.531 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.0054, allocations: 8.375 kB / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005407, allocations: 4.375 kB / 0.8827 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.005466, allocations: 44.27 kB / 0.8827 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.005891, allocations: 429.9 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.006098, allocations: 107.1 kB / 0.8832 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.006139, allocations: 37.45 kB / 0.8833 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.006149, allocations: 4 kB / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.006177, allocations: 41.33 kB / 0.8833 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.006178, allocations: 0 / 0.8833 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.000177/0.006355, allocations: 105.6 kB / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.006388, allocations: 55.41 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.006466, allocations: 185.8 kB / 0.8836 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006477, allocations: 25.7 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.00654, allocations: 167.1 kB / 0.8838 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.006572, allocations: 47.53 kB / 0.8839 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.00661, allocations: 31.36 kB / 0.8839 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.006733, allocations: 0.4923 MB / 0.8844 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.006756, allocations: 15.92 kB / 0.8844 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.006777, allocations: 11.98 kB / 0.8844 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.006831, allocations: 58.86 kB / 0.8845 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006834, allocations: 4 kB / 0.8845 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001033/0.006937, allocations: 81.64 kB / 0.8845 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.006952, allocations: 4 kB / 0.8845 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.006959, allocations: 7.984 kB / 0.8846 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.00697, allocations: 7.938 kB / 0.8846 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.007069, allocations: 35.92 kB / 0.8846 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007072, allocations: 0 / 0.8846 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.007101, allocations: 4 kB / 0.8846 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.007108, allocations: 4 kB / 0.8846 GB, free: 492 kB / 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 7.817e-05/0.007186, allocations: 164.6 kB / 0.8848 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.007209, allocations: 15.95 kB / 0.8848 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.007234, allocations: 20.42 kB / 0.8848 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007237, allocations: 3.938 kB / 0.8848 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.007239, allocations: 0 / 0.8848 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007242, allocations: 0 / 0.8848 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.00737, allocations: 145.1 kB / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007371, allocations: 0 / 0.8849 GB, free: 104 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.007441, allocations: 31.92 kB / 0.885 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007443, allocations: 0 / 0.885 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.00745, allocations: 8 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007451, allocations: 4 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007452, allocations: 0 / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.007628, allocations: 243.8 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.00764, allocations: 11.95 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.007651, allocations: 4 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.007697, allocations: 7.984 kB / 0.8852 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.007739, allocations: 15.92 kB / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.007744, allocations: 4 kB / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.007787, allocations: 135.2 kB / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007787, allocations: 4 kB / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000151/0.007938, allocations: 27.83 kB / 0.8854 GB, free: 15.59 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 0.0001206/0.008059, allocations: 112.7 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.008174, allocations: 62.89 kB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.008176, allocations: 7.938 kB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.008217, allocations: 35.67 kB / 0.8856 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.008461, allocations: 26.47 kB / 0.8857 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.008844, allocations: 266.8 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.008886, allocations: 67.34 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.008929, allocations: 12.48 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.009004, allocations: 82.2 kB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/0.009005, allocations: 0 / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.003376/0.01238, allocations: 1.344 MB / 0.8874 GB, free: 13.59 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.438947408925742]