Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008137/0.0008137, 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.000837/0.000837, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.847/0.847, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/1.138e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001378/0.00139, allocations: 1.247 MB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.002541, allocations: 1.329 MB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.002559, allocations: 3.938 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.002575, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.0031, allocations: 219.2 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.16e-05/0.003161, allocations: 46.27 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.003207, allocations: 15.92 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.003241, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.003271, allocations: 7.984 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08066/0.08393, allocations: 31.12 MB / 1.033 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.08395, allocations: 0 / 1.033 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.08396, allocations: 0 / 1.033 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.08397, allocations: 4 kB / 1.033 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.08399, allocations: 4 kB / 1.033 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.0841, allocations: 7.984 kB / 1.033 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.0841, allocations: 0 / 1.033 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.08411, allocations: 4 kB / 1.033 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.08411, allocations: 0 / 1.033 GB, free: 14.3 MB / 0.9948 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.0002151/0.08433, allocations: 254.4 kB / 1.033 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.08437, allocations: 8.75 kB / 1.033 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.08441, allocations: 106 kB / 1.033 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.08445, allocations: 84.22 kB / 1.033 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.939e-05/0.08454, allocations: 185.1 kB / 1.033 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.08457, allocations: 154.9 kB / 1.034 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.08461, allocations: 158.9 kB / 1.034 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.455e-05/0.08465, allocations: 101.5 kB / 1.034 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.08467, allocations: 75.47 kB / 1.034 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.08471, allocations: 154.5 kB / 1.034 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.08474, allocations: 158.6 kB / 1.034 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.08477, allocations: 150.6 kB / 1.034 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.08494, allocations: 417 kB / 1.035 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.085, allocations: 169.1 kB / 1.035 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.08502, allocations: 84.08 kB / 1.035 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.08504, allocations: 75.28 kB / 1.035 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.08508, allocations: 117.8 kB / 1.035 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.08508, allocations: 0 / 1.035 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.394e-05/0.08513, allocations: 33.58 kB / 1.035 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.08519, allocations: 207.8 kB / 1.035 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.08527, allocations: 97.86 kB / 1.036 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.08527, allocations: 29.7 kB / 1.036 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.0853, allocations: 80.14 kB / 1.036 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.0853, allocations: 0 / 1.036 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.08532, allocations: 17.7 kB / 1.036 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.08539, allocations: 318.8 kB / 1.036 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.08539, allocations: 0 / 1.036 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.08544, allocations: 95.69 kB / 1.036 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.08546, allocations: 75.28 kB / 1.036 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.08547, allocations: 79.27 kB / 1.036 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.384e-05/0.08551, allocations: 37.58 kB / 1.036 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.08553, allocations: 87.19 kB / 1.036 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.08555, allocations: 79.22 kB / 1.036 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/0.08559, allocations: 154.6 kB / 1.037 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.582e-05/0.0856, allocations: 79.22 kB / 1.037 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.983e-05/0.08563, allocations: 154.6 kB / 1.037 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.08573, allocations: 91.25 kB / 1.037 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.08575, allocations: 75.28 kB / 1.037 GB, free: 9.895 MB / 0.9948 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 7.519e-05/0.08582, allocations: 260.4 kB / 1.037 GB, free: 9.629 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.08586, allocations: 108.9 kB / 1.037 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.08589, allocations: 116 kB / 1.037 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/0.08593, allocations: 188.2 kB / 1.038 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.522e-05/0.08597, allocations: 180.2 kB / 1.038 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/0.08601, allocations: 176.3 kB / 1.038 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.08613, allocations: 376.3 kB / 1.038 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.08615, allocations: 104.9 kB / 1.038 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.08617, allocations: 105 kB / 1.038 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.111e-05/0.08623, allocations: 180.2 kB / 1.039 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.08626, allocations: 180.2 kB / 1.039 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.43e-05/0.0863, allocations: 184.2 kB / 1.039 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.442e-05/0.08633, allocations: 192.4 kB / 1.039 GB, free: 7.449 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.08641, allocations: 299.8 kB / 1.039 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.08644, allocations: 117.4 kB / 1.04 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.08648, allocations: 188.1 kB / 1.04 GB, free: 6.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.08655, allocations: 109 kB / 1.04 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.08659, allocations: 180.3 kB / 1.04 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.08661, allocations: 108.9 kB / 1.04 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.08663, allocations: 83.27 kB / 1.04 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.08663, allocations: 0 / 1.04 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001561/0.08679, allocations: 4 kB / 1.04 GB, free: 6.324 MB / 0.9948 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.0002641/0.08705, allocations: 0.7971 MB / 1.041 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 4.154e-05/0.08709, allocations: 15.88 kB / 1.041 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.0871, allocations: 0 / 1.041 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.0871, allocations: 0 / 1.041 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.08733, allocations: 459.7 kB / 1.041 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.08762, allocations: 185.8 kB / 1.042 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.08765, allocations: 59.34 kB / 1.042 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.08767, allocations: 0 / 1.042 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.08769, allocations: 12.5 kB / 1.042 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of SimCode: time 4.5e-07/0.08769, allocations: 4 kB / 1.042 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.1024, allocations: 1.963 MB / 1.044 GB, free: 2.855 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/6.711, allocations: 4.562 kB / 1.044 GB, free: 2.852 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.181631707586348]