Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008072/0.0008072, 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.000773/0.000773, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8435/0.8435, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.636/1.636, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.257e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001388/0.001401, allocations: 1.266 MB / 0.9517 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.002597, allocations: 1.337 MB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.002616, allocations: 0 / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.002633, allocations: 0 / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.003158, allocations: 215.2 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.824e-05/0.003216, allocations: 31.89 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.896e-05/0.003265, allocations: 11.94 kB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.003302, allocations: 7.984 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.003333, allocations: 15.98 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08249/0.08582, allocations: 31.12 MB / 0.9837 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.08585, allocations: 0 / 0.9837 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.08586, allocations: 3.938 kB / 0.9837 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.08587, allocations: 0 / 0.9837 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.0859, allocations: 4 kB / 0.9837 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.08601, allocations: 15.97 kB / 0.9837 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.08602, allocations: 8 kB / 0.9837 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.424e-06/0.08602, allocations: 0 / 0.9837 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.08602, allocations: 0 / 0.9837 GB, free: 4.461 MB / 0.9323 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.0002407/0.08626, allocations: 242.4 kB / 0.984 GB, free: 4.195 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.0863, allocations: 8.031 kB / 0.984 GB, free: 4.188 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.08635, allocations: 110 kB / 0.9841 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.0864, allocations: 84.16 kB / 0.9841 GB, free: 3.988 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.08649, allocations: 181 kB / 0.9843 GB, free: 3.785 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.08652, allocations: 150.9 kB / 0.9845 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.08655, allocations: 154.9 kB / 0.9846 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.983e-05/0.0866, allocations: 101.5 kB / 0.9847 GB, free: 3.379 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.08663, allocations: 83.41 kB / 0.9848 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.08667, allocations: 154.5 kB / 0.9849 GB, free: 3.145 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.08671, allocations: 158.5 kB / 0.9851 GB, free: 2.988 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.08674, allocations: 154.6 kB / 0.9852 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.08693, allocations: 413 kB / 0.9856 GB, free: 2.391 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.08699, allocations: 169.1 kB / 0.9858 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.08702, allocations: 84.08 kB / 0.9859 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.08704, allocations: 75.28 kB / 0.9859 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.08707, allocations: 109.8 kB / 0.986 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.08707, allocations: 0 / 0.986 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 6.369e-05/0.08714, allocations: 37.62 kB / 0.9861 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.0872, allocations: 207.8 kB / 0.9863 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.08729, allocations: 105.8 kB / 0.9864 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.0873, allocations: 25.7 kB / 0.9864 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.08733, allocations: 80.14 kB / 0.9865 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.08733, allocations: 0 / 0.9865 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.08735, allocations: 17.7 kB / 0.9865 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.08743, allocations: 318.8 kB / 0.9868 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.08743, allocations: 3.938 kB / 0.9868 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.08748, allocations: 95.69 kB / 0.9869 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.0875, allocations: 75.28 kB / 0.987 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.08752, allocations: 79.28 kB / 0.987 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.557e-05/0.08755, allocations: 33.69 kB / 0.9871 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.08758, allocations: 79.28 kB / 0.9872 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.0876, allocations: 87.16 kB / 0.9872 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.152e-05/0.08764, allocations: 154.6 kB / 0.9874 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.08766, allocations: 75.28 kB / 0.9875 GB, free: 392 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-05/0.0877, allocations: 158.5 kB / 0.9876 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.08781, allocations: 83.33 kB / 0.9877 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.08783, allocations: 87.2 kB / 0.9878 GB, free: 60 kB / 0.9323 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 9.686e-05/0.08792, allocations: 256.4 kB / 0.988 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.08796, allocations: 113 kB / 0.9881 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.08799, allocations: 108.1 kB / 0.9882 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/0.08803, allocations: 184.2 kB / 0.9884 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-05/0.08808, allocations: 180.2 kB / 0.9886 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.08812, allocations: 180.2 kB / 0.9887 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.08825, allocations: 372.3 kB / 0.9891 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.08828, allocations: 108.9 kB / 0.9892 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.0883, allocations: 112.9 kB / 0.9893 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.819e-05/0.08834, allocations: 176.3 kB / 0.9895 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.08839, allocations: 184.1 kB / 0.9897 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.99e-05/0.08843, allocations: 188.3 kB / 0.9898 GB, free: 13.81 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.012e-05/0.08847, allocations: 180.2 kB / 0.99 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.013e-05/0.08856, allocations: 303.8 kB / 0.9903 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.08859, allocations: 109.3 kB / 0.9904 GB, free: 13.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.08864, allocations: 192.2 kB / 0.9906 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-05/0.08872, allocations: 101 kB / 0.9907 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.08876, allocations: 184.2 kB / 0.9909 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.08878, allocations: 108.9 kB / 0.991 GB, free: 12.59 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.08881, allocations: 83.27 kB / 0.991 GB, free: 12.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.08881, allocations: 0 / 0.991 GB, free: 12.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001684/0.08898, allocations: 4 kB / 0.991 GB, free: 12.5 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 (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.00026/0.08924, allocations: 0.8048 MB / 0.9918 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.223e-05/0.08928, allocations: 3.938 kB / 0.9918 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.08928, allocations: 0 / 0.9918 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.08929, allocations: 4 kB / 0.9918 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.08953, allocations: 469.8 kB / 0.9923 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.08984, allocations: 181.8 kB / 0.9925 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.08988, allocations: 59.34 kB / 0.9925 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.08991, allocations: 8 kB / 0.9925 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.08993, allocations: 12.5 kB / 0.9925 GB, free: 10.88 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.08993, allocations: 0 / 0.9925 GB, free: 10.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1037, allocations: 1.957 MB / 0.9944 GB, free: 9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/7.074, allocations: 5.891 kB / 0.9944 GB, free: 8.996 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.903123438358307]