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.001472/0.001472, allocations: 88.72 kB / 19.44 MB, free: 356 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.001682/0.001682, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.272/3.272, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.865e-06/2.865e-06, allocations: 0 / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.82e-05, allocations: 2.969 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.003398/0.003437, allocations: 0.9155 MB / 0.8785 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.005231, allocations: 0.907 MB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.005312, allocations: 0 / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.122e-05/0.005383, allocations: 19.8 kB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.005513, allocations: 17.02 kB / 0.8794 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.005671, allocations: 47.94 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.005948, allocations: 159.9 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.006204, allocations: 73.16 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.006415, allocations: 91.8 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.006534, allocations: 51.8 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.006579, allocations: 16 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.006617, allocations: 20 kB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.006671, allocations: 35.89 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.006756, allocations: 39.92 kB / 0.8799 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.007149, allocations: 227.2 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.007152, allocations: 1.625 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.007153, allocations: 0 / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.007159, allocations: 0 / 0.8802 GB, free: 3.852 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.0009474/0.008106, allocations: 374.7 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.00817, allocations: 13.09 kB / 0.8805 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.008269, allocations: 24.84 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.008628, allocations: 153.5 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.008666, allocations: 17.47 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.008703, allocations: 12.38 kB / 0.8807 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.009266, allocations: 163 kB / 0.8809 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.009278, allocations: 4.188 kB / 0.8809 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.009305, allocations: 5.25 kB / 0.8809 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.009315, allocations: 4.375 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.009938, allocations: 149.4 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.01087, allocations: 402.4 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.01153, allocations: 150.6 kB / 0.8816 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.01184, allocations: 78.39 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.01187, allocations: 5.094 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.01191, allocations: 34.56 kB / 0.8817 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.01191, allocations: 0 / 0.8817 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.001007/0.01292, allocations: 234.9 kB / 0.8819 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.01298, allocations: 57.94 kB / 0.882 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01313, allocations: 121.8 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.01316, allocations: 29.7 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.01329, allocations: 120.4 kB / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.044e-05/0.01338, allocations: 43.59 kB / 0.8823 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.01346, allocations: 29.7 kB / 0.8823 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.01368, allocations: 318.8 kB / 0.8826 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.01395, allocations: 53.89 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.0142, allocations: 51.95 kB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.01472, allocations: 127 kB / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01472, allocations: 0 / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006385/0.01536, allocations: 173.5 kB / 0.883 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.01539, allocations: 7.938 kB / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01539, allocations: 0 / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.01541, allocations: 0 / 0.883 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.01568, allocations: 39.97 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.01569, allocations: 4 kB / 0.883 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.01584, allocations: 23.92 kB / 0.8831 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.01585, allocations: 0 / 0.8831 GB, free: 0.7344 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 0.0001654/0.01602, allocations: 129.8 kB / 0.8832 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.01608, allocations: 15.95 kB / 0.8832 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.01613, allocations: 16.38 kB / 0.8832 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01614, allocations: 0 / 0.8832 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.01615, allocations: 4 kB / 0.8832 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01615, allocations: 0 / 0.8832 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.01648, allocations: 165.2 kB / 0.8834 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01648, allocations: 0 / 0.8834 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.01675, allocations: 43.97 kB / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01675, allocations: 0 / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01677, allocations: 0 / 0.8834 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.01677, allocations: 3.938 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01677, allocations: 0 / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.01747, allocations: 275.2 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.01749, allocations: 19.88 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.01752, allocations: 0 / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.01772, allocations: 19.92 kB / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.01783, allocations: 8.031 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.01784, allocations: 4 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.207e-05/0.01793, allocations: 95.22 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01793, allocations: 0 / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004311/0.01837, allocations: 31.89 kB / 0.8838 GB, free: 15.87 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.0001694/0.01854, allocations: 99.23 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006817/0.01922, allocations: 135.8 kB / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01922, allocations: 0 / 0.8841 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.01951, allocations: 71.89 kB / 0.8841 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.02008, allocations: 21.08 kB / 0.8842 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.02091, allocations: 270.8 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.02106, allocations: 97.48 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.667e-05/0.02115, allocations: 12.48 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.02122, allocations: 16.5 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.02122, allocations: 0 / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.005845/0.02706, allocations: 1.184 MB / 0.8857 GB, free: 13.98 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.33183866192121]