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.0008752/0.0008752, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008315/0.0008315, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9157/0.9157, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.76/1.76, allocations: 377.9 MB / 0.6221 GB, free: 8.695 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.898e-06/3.898e-06, allocations: 4 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.623e-05, allocations: 4.812 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001527/0.001553, allocations: 0.9073 MB / 0.9819 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.002474, allocations: 0.9055 MB / 0.9828 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.002532, allocations: 4 kB / 0.9828 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.002574, allocations: 15.8 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/0.002655, allocations: 15.81 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.1e-05/0.002736, allocations: 51.94 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.00287, allocations: 160.2 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.003033, allocations: 75.59 kB / 0.9831 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003143, allocations: 91.8 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.003209, allocations: 47.8 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.003244, allocations: 20 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.003259, allocations: 16 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.003287, allocations: 35.91 kB / 0.9833 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.003324, allocations: 47.89 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.003503, allocations: 219.2 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003505, allocations: 0 / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003505, allocations: 0 / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.003509, allocations: 4 kB / 0.9835 GB, free: 15.95 MB / 0.948 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.000438/0.003947, allocations: 377.8 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.003984, allocations: 8.031 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.004023, allocations: 46.73 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.004051, allocations: 16.84 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.004286, allocations: 149.6 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004298, allocations: 12.12 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.004314, allocations: 24.38 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.004557, allocations: 163.7 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004565, allocations: 192 / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.004577, allocations: 4.375 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.004585, allocations: 8.125 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.004804, allocations: 143.9 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.005253, allocations: 439.1 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.005557, allocations: 148.5 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.005672, allocations: 77.05 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.005686, allocations: 11.94 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.005705, allocations: 38.56 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.005706, allocations: 0 / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0003742/0.006081, allocations: 225.4 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.006108, allocations: 51.41 kB / 0.9854 GB, free: 13.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.006172, allocations: 125.7 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006183, allocations: 29.7 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.006233, allocations: 124.3 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.006262, allocations: 43.61 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.006296, allocations: 29.7 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.006371, allocations: 322.8 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.821e-05/0.006459, allocations: 51.95 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.006543, allocations: 55.08 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.006722, allocations: 128.7 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006724, allocations: 0 / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002117/0.006936, allocations: 161.5 kB / 0.9864 GB, free: 12.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.006948, allocations: 8 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.006953, allocations: 0 / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006964, allocations: 4 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.007056, allocations: 35.97 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007061, allocations: 0 / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.007112, allocations: 31.8 kB / 0.9865 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.007118, allocations: 4 kB / 0.9865 GB, free: 12.73 MB / 0.948 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.943e-05/0.007188, allocations: 121.8 kB / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.007202, allocations: 11.89 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.007224, allocations: 16.44 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007226, allocations: 4 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.007231, allocations: 0 / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.007235, allocations: 4 kB / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.00741, allocations: 188.7 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007411, allocations: 0 / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.00753, allocations: 43.91 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.007533, allocations: 4 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.007542, allocations: 3.938 kB / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007543, allocations: 0 / 0.9869 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007544, allocations: 4 kB / 0.9869 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.007889, allocations: 271.3 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.007904, allocations: 19.83 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.007917, allocations: 0 / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.007998, allocations: 11.98 kB / 0.9872 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.008045, allocations: 11.98 kB / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.00805, allocations: 0 / 0.9872 GB, free: 11.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.008095, allocations: 99.27 kB / 0.9873 GB, free: 11.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.008095, allocations: 0 / 0.9873 GB, free: 11.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00023/0.008325, allocations: 27.95 kB / 0.9873 GB, free: 11.83 MB / 0.948 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.0006839/0.009009, allocations: 0.8048 MB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.00932, allocations: 127.8 kB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009321, allocations: 3.938 kB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.009456, allocations: 71.89 kB / 0.9883 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.009793, allocations: 19.98 kB / 0.9883 GB, free: 10.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.01114, allocations: 1.716 MB / 0.99 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.168e-05/0.0112, allocations: 97.62 kB / 0.9901 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.01124, allocations: 12.48 kB / 0.9901 GB, free: 8.859 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.0113, allocations: 40.48 kB / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.0113, allocations: 0 / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02635, allocations: 3.155 MB / 0.9932 GB, free: 5.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.705, allocations: 3.797 kB / 0.9932 GB, free: 5.91 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.csv","/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: 10.981914196163416]