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.PIDIntegralTime.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.001108/0.001108, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001095/0.001095, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8993/0.8993, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.764/1.764, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.489e-05, allocations: 5.094 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001469/0.001493, allocations: 0.8179 MB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.002291, allocations: 0.8744 MB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.002339, allocations: 0 / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.002373, allocations: 11.86 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.002455, allocations: 11.81 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.27e-05/0.002527, allocations: 35.95 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.00264, allocations: 115.6 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.002767, allocations: 49.55 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.002854, allocations: 63.88 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.002904, allocations: 31.89 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.002928, allocations: 16 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.002937, allocations: 12 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.002958, allocations: 23.91 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.002987, allocations: 31.92 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003119, allocations: 147.4 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003122, allocations: 4 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003123, allocations: 0 / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.003127, allocations: 0 / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004005/0.003527, allocations: 337.9 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.003565, allocations: 12.03 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.1e-05/0.003596, allocations: 38.73 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.003619, allocations: 20.84 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.003763, allocations: 137.7 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.003775, allocations: 12.36 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.003788, allocations: 12.31 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.003986, allocations: 116.2 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003992, allocations: 192 / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004003, allocations: 12.38 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.004009, allocations: 4.125 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.004202, allocations: 107.9 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.004549, allocations: 339.5 kB / 0.9843 GB, free: 15.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.004787, allocations: 114.6 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.004887, allocations: 60.81 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.004898, allocations: 0 / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.004914, allocations: 34.56 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.004915, allocations: 0 / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0003384/0.005254, allocations: 181.6 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.005281, allocations: 55.41 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.005343, allocations: 121.7 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005354, allocations: 25.7 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.005401, allocations: 112 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.005426, allocations: 35.66 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.005455, allocations: 21.72 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.005529, allocations: 318.8 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.00561, allocations: 51.89 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.005686, allocations: 39.97 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.005845, allocations: 100.8 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005847, allocations: 0 / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002033/0.00605, allocations: 142.1 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.006062, allocations: 4 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006067, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.006077, allocations: 0 / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.006148, allocations: 23.98 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.006154, allocations: 3.938 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.006194, allocations: 16.06 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.0062, allocations: 11.94 kB / 0.9857 GB, free: 13.53 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 (9): * Single equations (assignments): 9 * 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 5.748e-05/0.006257, allocations: 121.8 kB / 0.9858 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.006271, allocations: 7.953 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.006289, allocations: 8.438 kB / 0.9858 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.006292, allocations: 7.984 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.006296, allocations: 0 / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006299, allocations: 3.938 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.006428, allocations: 176.6 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006429, allocations: 0 / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.00649, allocations: 27.97 kB / 0.986 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.006491, allocations: 4 kB / 0.986 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006498, allocations: 4 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006499, allocations: 0 / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0065, allocations: 0 / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.006718, allocations: 239.3 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006724, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.006734, allocations: 8 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.006787, allocations: 11.98 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.006827, allocations: 11.92 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.00683, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.006865, allocations: 103.2 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006865, allocations: 0 / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002098/0.007075, allocations: 19.89 kB / 0.9864 GB, free: 12.72 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 (9): * Single equations (assignments): 9 * 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.0003872/0.007462, allocations: 0.767 MB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.00767, allocations: 108 kB / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.007672, allocations: 4 kB / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.007759, allocations: 51.95 kB / 0.9873 GB, free: 11.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.007989, allocations: 15.94 kB / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.009233, allocations: 1.562 MB / 0.9889 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.585e-05/0.009289, allocations: 85.44 kB / 0.9889 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.009327, allocations: 8 kB / 0.9889 GB, free: 9.992 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.009376, allocations: 32.48 kB / 0.989 GB, free: 9.961 MB / 0.948 GB Notification: Performance of SimCode: time 5.92e-07/0.009377, allocations: 0 / 0.989 GB, free: 9.961 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.02385, allocations: 2.898 MB / 0.9918 GB, free: 7.305 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/6.724, allocations: 3.328 kB / 0.9918 GB, free: 7.305 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_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_PIDIntegralTime.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.889344174414873]