Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.0007767/0.0007767, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007741/0.0007741, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8703/0.8703, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.677/1.677, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.981 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.572e-05, allocations: 2.281 kB / 0.981 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002771/0.002797, allocations: 1.266 MB / 0.9822 GB, free: 152 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.005051, allocations: 1.33 MB / 0.9835 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.005077, allocations: 0 / 0.9835 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.0051, allocations: 0 / 0.9835 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.006125, allocations: 219.1 kB / 0.9837 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.006255, allocations: 31.89 kB / 0.9837 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.00633, allocations: 23.94 kB / 0.9838 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 6.234e-05/0.006392, allocations: 7.984 kB / 0.9838 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.006445, allocations: 11.98 kB / 0.9838 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08941/0.09586, allocations: 31.11 MB / 1.014 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.09588, allocations: 0 / 1.014 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.09589, allocations: 8 kB / 1.014 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.09591, allocations: 3.938 kB / 1.014 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.09594, allocations: 7.984 kB / 1.014 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.09607, allocations: 11.98 kB / 1.014 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.09607, allocations: 0 / 1.014 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.774e-06/0.09607, allocations: 0 / 1.014 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.09608, allocations: 0 / 1.014 GB, free: 2.52 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002474/0.09633, allocations: 244.9 kB / 1.014 GB, free: 2.254 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.09637, allocations: 8.031 kB / 1.014 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.09642, allocations: 110 kB / 1.015 GB, free: 2.129 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.09647, allocations: 76.22 kB / 1.015 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.09656, allocations: 193 kB / 1.015 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.09659, allocations: 150.9 kB / 1.015 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.09662, allocations: 150.9 kB / 1.015 GB, free: 1.543 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.011e-05/0.09667, allocations: 109.4 kB / 1.015 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.0967, allocations: 79.47 kB / 1.015 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.09673, allocations: 154.5 kB / 1.015 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.09677, allocations: 154.5 kB / 1.016 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.0968, allocations: 150.6 kB / 1.016 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.09701, allocations: 417 kB / 1.016 GB, free: 464 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.09708, allocations: 177.1 kB / 1.016 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.0971, allocations: 84.14 kB / 1.016 GB, free: 188 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.09712, allocations: 75.28 kB / 1.016 GB, free: 112 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4129/0.51, allocations: 105.8 kB / 1.017 GB, free: 47.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.51, allocations: 0 / 1.017 GB, free: 47.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0001037/0.5101, allocations: 31.45 kB / 1.017 GB, free: 47.36 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5101, allocations: 206.3 kB / 1.017 GB, free: 47.13 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.5102, allocations: 98.02 kB / 1.017 GB, free: 47.04 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5102, allocations: 26.39 kB / 1.017 GB, free: 47 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.5103, allocations: 82.3 kB / 1.017 GB, free: 46.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.5103, allocations: 0 / 1.017 GB, free: 46.92 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.5103, allocations: 18.78 kB / 1.017 GB, free: 46.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 3.153e-05/0.5103, allocations: 315.2 kB / 1.017 GB, free: 46.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.5103, allocations: 0.875 kB / 1.017 GB, free: 46.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/0.5104, allocations: 99.86 kB / 1.017 GB, free: 46.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.332e-05/0.5104, allocations: 77.25 kB / 1.017 GB, free: 46.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.5104, allocations: 79.94 kB / 1.018 GB, free: 46.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.456e-05/0.5104, allocations: 33.94 kB / 1.018 GB, free: 46.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5104, allocations: 82.09 kB / 1.018 GB, free: 46.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5105, allocations: 76.64 kB / 1.018 GB, free: 46.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.5105, allocations: 154.9 kB / 1.018 GB, free: 46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-06/0.5105, allocations: 81.05 kB / 1.018 GB, free: 45.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.5105, allocations: 155.4 kB / 1.018 GB, free: 45.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5106, allocations: 88.09 kB / 1.018 GB, free: 45.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5106, allocations: 76.77 kB / 1.018 GB, free: 45.62 MB / 0.9167 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 (0): * Single equations (assignments): 0 * 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.699e-05/0.5107, allocations: 271.1 kB / 1.018 GB, free: 45.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.5107, allocations: 110.7 kB / 1.019 GB, free: 45.25 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.5107, allocations: 111 kB / 1.019 GB, free: 45.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5107, allocations: 186 kB / 1.019 GB, free: 44.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.5108, allocations: 181.6 kB / 1.019 GB, free: 44.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.5108, allocations: 178.7 kB / 1.019 GB, free: 44.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.07e-05/0.5109, allocations: 372.6 kB / 1.02 GB, free: 44.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5109, allocations: 111.7 kB / 1.02 GB, free: 44.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/0.5109, allocations: 102.5 kB / 1.02 GB, free: 43.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.5109, allocations: 188.2 kB / 1.02 GB, free: 43.79 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5109, allocations: 178.5 kB / 1.02 GB, free: 43.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.5109, allocations: 180.5 kB / 1.02 GB, free: 43.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/0.5109, allocations: 183.9 kB / 1.02 GB, free: 43.24 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.011e-05/0.511, allocations: 307.8 kB / 1.021 GB, free: 42.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.511, allocations: 113.2 kB / 1.021 GB, free: 42.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.511, allocations: 178.8 kB / 1.021 GB, free: 42.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.5111, allocations: 110.9 kB / 1.021 GB, free: 42.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.5111, allocations: 182.3 kB / 1.021 GB, free: 42.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.5111, allocations: 110.5 kB / 1.021 GB, free: 42.24 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.5112, allocations: 80.81 kB / 1.022 GB, free: 42.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.5112, allocations: 0 / 1.022 GB, free: 42.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001667/0.5113, allocations: 3.531 kB / 1.022 GB, free: 42.16 MB / 0.9167 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 (0): * Single equations (assignments): 0 * 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.0001853/0.5115, allocations: 0.8074 MB / 1.022 GB, free: 41.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.201e-05/0.5116, allocations: 6.734 kB / 1.022 GB, free: 41.35 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5116, allocations: 0 / 1.022 GB, free: 41.35 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.5116, allocations: 0.9688 kB / 1.022 GB, free: 41.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.5118, allocations: 459.1 kB / 1.023 GB, free: 40.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.5121, allocations: 193.9 kB / 1.023 GB, free: 40.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.5121, allocations: 60.14 kB / 1.023 GB, free: 40.62 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.5121, allocations: 2.688 kB / 1.023 GB, free: 40.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.5122, allocations: 10.25 kB / 1.023 GB, free: 40.62 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.5122, allocations: 0.9375 kB / 1.023 GB, free: 40.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.5302, allocations: 1.954 MB / 1.025 GB, free: 39.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.533, allocations: 13.09 kB / 1.025 GB, free: 39.77 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_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_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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: 11.484657868742943]