Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008254/0.0008254, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008406/0.0008406, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9051/0.9051, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.9822 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.733e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001928/0.001955, allocations: 0.8996 MB / 0.9831 GB, free: 0 / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003215, allocations: 0.9093 MB / 0.984 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.003296, allocations: 4 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.996e-05/0.003356, allocations: 15.8 kB / 0.984 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.003464, allocations: 15.8 kB / 0.984 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.00358, allocations: 51.94 kB / 0.9841 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003762, allocations: 156.2 kB / 0.9842 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.003966, allocations: 73.2 kB / 0.9843 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.004116, allocations: 87.86 kB / 0.9844 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.004194, allocations: 47.81 kB / 0.9844 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.004234, allocations: 20 kB / 0.9844 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.004252, allocations: 16 kB / 0.9845 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.004288, allocations: 35.89 kB / 0.9845 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.004344, allocations: 55.84 kB / 0.9845 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.004571, allocations: 215.3 kB / 0.9848 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004574, allocations: 0 / 0.9848 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004576, allocations: 0 / 0.9848 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.00458, allocations: 0 / 0.9848 GB, free: 14.3 MB / 0.9011 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.0005978/0.005178, allocations: 381.7 kB / 0.9851 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.005222, allocations: 11.97 kB / 0.9851 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.00527, allocations: 16.84 kB / 0.9851 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.005494, allocations: 153.6 kB / 0.9853 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.005511, allocations: 12.31 kB / 0.9853 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.005536, allocations: 20.38 kB / 0.9853 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.005907, allocations: 167.5 kB / 0.9855 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.005917, allocations: 4.125 kB / 0.9855 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.005936, allocations: 4.375 kB / 0.9855 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005943, allocations: 4.375 kB / 0.9855 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.006307, allocations: 143.8 kB / 0.9856 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.006949, allocations: 407.9 kB / 0.986 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.007409, allocations: 146.5 kB / 0.9862 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.007603, allocations: 76.84 kB / 0.9862 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.00762, allocations: 4 kB / 0.9862 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.00764, allocations: 30.56 kB / 0.9863 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.007642, allocations: 4 kB / 0.9863 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14): time 0.0005909/0.008233, allocations: 224.8 kB / 0.9865 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.00827, allocations: 51.41 kB / 0.9865 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.008356, allocations: 114.2 kB / 0.9866 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.008374, allocations: 29.7 kB / 0.9867 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.008442, allocations: 124.3 kB / 0.9868 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.008491, allocations: 47.61 kB / 0.9868 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.008546, allocations: 29.7 kB / 0.9869 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.008648, allocations: 326.8 kB / 0.9872 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.00881, allocations: 51.95 kB / 0.9872 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.008952, allocations: 55.95 kB / 0.9873 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.00925, allocations: 124.8 kB / 0.9874 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.009253, allocations: 0 / 0.9874 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003631/0.009616, allocations: 157.6 kB / 0.9875 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.009632, allocations: 11.94 kB / 0.9876 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.009637, allocations: 0 / 0.9876 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.009652, allocations: 3.984 kB / 0.9876 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.009809, allocations: 39.92 kB / 0.9876 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.009815, allocations: 0 / 0.9876 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.009894, allocations: 23.91 kB / 0.9876 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.009904, allocations: 4 kB / 0.9876 GB, free: 11.18 MB / 0.9011 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 9.414e-05/0.009998, allocations: 121.8 kB / 0.9877 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.01003, allocations: 11.91 kB / 0.9878 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.01006, allocations: 20.31 kB / 0.9878 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01006, allocations: 0 / 0.9878 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01007, allocations: 8 kB / 0.9878 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01007, allocations: 3.984 kB / 0.9878 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.01027, allocations: 157.3 kB / 0.9879 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01027, allocations: 0 / 0.9879 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.01042, allocations: 43.91 kB / 0.988 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01042, allocations: 3.938 kB / 0.988 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01044, allocations: 4 kB / 0.988 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01044, allocations: 3.938 kB / 0.988 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01044, allocations: 0 / 0.988 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.01083, allocations: 266.8 kB / 0.9882 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.01085, allocations: 11.89 kB / 0.9883 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.01086, allocations: 0 / 0.9883 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01097, allocations: 19.92 kB / 0.9883 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.01103, allocations: 11.98 kB / 0.9883 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01104, allocations: 11.92 kB / 0.9883 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.01109, allocations: 91.33 kB / 0.9884 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01109, allocations: 4 kB / 0.9884 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002747/0.01136, allocations: 31.89 kB / 0.9884 GB, free: 10.32 MB / 0.9011 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 9.872e-05/0.01146, allocations: 103.2 kB / 0.9885 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.01184, allocations: 127.8 kB / 0.9886 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01185, allocations: 4 kB / 0.9886 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.01201, allocations: 67.95 kB / 0.9887 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.01235, allocations: 18.22 kB / 0.9887 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.01289, allocations: 305.3 kB / 0.989 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.234e-05/0.01297, allocations: 97.62 kB / 0.9891 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.01303, allocations: 16.5 kB / 0.9891 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/0.01303, allocations: 0 / 0.9891 GB, free: 9.535 MB / 0.9011 GB Notification: Performance of Templates: time 0.003421/0.01645, allocations: 1.546 MB / 0.9906 GB, free: 8.004 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.41253896523267]