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.00195/0.00195, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002773/0.002773, allocations: 218.2 kB / 22.24 MB, free: 4.852 MB / 14.72 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 1.569/1.569, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.309/3.309, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 72.89 kB / 1.186 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3635, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.003487/0.367, allocations: 1.247 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.3701, allocations: 1.33 MB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.3701, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.3702, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.3714, allocations: 223.2 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.3715, allocations: 30.58 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.3716, allocations: 19.81 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.3717, allocations: 7.984 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.3717, allocations: 11.97 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2552/0.6269, allocations: 31.05 MB / 1.397 GB, free: 14.6 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.6269, allocations: 0 / 1.397 GB, free: 14.6 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.6269, allocations: 0 / 1.397 GB, free: 14.6 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.627, allocations: 4 kB / 1.397 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.627, allocations: 7.922 kB / 1.397 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.6271, allocations: 11.92 kB / 1.397 GB, free: 14.57 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6271, allocations: 4 kB / 1.397 GB, free: 14.57 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6271, allocations: 0 / 1.397 GB, free: 14.57 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.6271, allocations: 0 / 1.397 GB, free: 14.57 MB / 1.092 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.0003156/0.6274, allocations: 242.5 kB / 1.397 GB, free: 14.3 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6275, allocations: 12.03 kB / 1.397 GB, free: 14.29 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.717e-05/0.6276, allocations: 106 kB / 1.397 GB, free: 14.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.6276, allocations: 84.22 kB / 1.397 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.6278, allocations: 181.8 kB / 1.397 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.6278, allocations: 150.9 kB / 1.397 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.6279, allocations: 162.9 kB / 1.397 GB, free: 13.59 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.628, allocations: 108.9 kB / 1.398 GB, free: 13.47 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.628, allocations: 79.28 kB / 1.398 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.6281, allocations: 150.6 kB / 1.398 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.176e-05/0.6281, allocations: 158.5 kB / 1.398 GB, free: 13.09 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.6282, allocations: 154.6 kB / 1.398 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.6285, allocations: 417 kB / 1.398 GB, free: 12.49 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.6286, allocations: 173.1 kB / 1.399 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.6287, allocations: 80.14 kB / 1.399 GB, free: 12.23 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.6287, allocations: 83.22 kB / 1.399 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.6288, allocations: 109.8 kB / 1.399 GB, free: 12.03 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.6288, allocations: 0 / 1.399 GB, free: 12.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.081e-05/0.6289, allocations: 37.64 kB / 1.399 GB, free: 11.98 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.629, allocations: 203.8 kB / 1.399 GB, free: 11.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.6291, allocations: 97.86 kB / 1.399 GB, free: 11.65 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6291, allocations: 29.64 kB / 1.399 GB, free: 11.61 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.6292, allocations: 88.12 kB / 1.399 GB, free: 11.52 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.6292, allocations: 0 / 1.399 GB, free: 11.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.6292, allocations: 13.72 kB / 1.399 GB, free: 11.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6293, allocations: 318.8 kB / 1.4 GB, free: 11.18 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.6293, allocations: 0 / 1.4 GB, free: 11.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.6294, allocations: 99.69 kB / 1.4 GB, free: 11.06 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.6295, allocations: 79.27 kB / 1.4 GB, free: 10.98 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.963e-05/0.6295, allocations: 75.28 kB / 1.4 GB, free: 10.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.915e-05/0.6296, allocations: 33.64 kB / 1.4 GB, free: 10.87 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.6296, allocations: 83.22 kB / 1.4 GB, free: 10.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.6296, allocations: 83.28 kB / 1.4 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.629e-05/0.6297, allocations: 150.6 kB / 1.4 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.588e-05/0.6298, allocations: 83.22 kB / 1.4 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.177e-05/0.6298, allocations: 154.6 kB / 1.4 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.63, allocations: 83.2 kB / 1.401 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.63, allocations: 79.28 kB / 1.401 GB, free: 10.16 MB / 1.092 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 0.0001337/0.6301, allocations: 256.4 kB / 1.401 GB, free: 9.898 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.6302, allocations: 112.9 kB / 1.401 GB, free: 9.781 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.6303, allocations: 112.1 kB / 1.401 GB, free: 9.66 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/0.6303, allocations: 180.3 kB / 1.401 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.752e-05/0.6304, allocations: 188.2 kB / 1.401 GB, free: 9.285 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.991e-05/0.6305, allocations: 176.3 kB / 1.402 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.6307, allocations: 376.3 kB / 1.402 GB, free: 8.688 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-05/0.6308, allocations: 112.9 kB / 1.402 GB, free: 8.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.6308, allocations: 101 kB / 1.402 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.468e-05/0.6309, allocations: 180.2 kB / 1.402 GB, free: 8.281 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.631, allocations: 176.3 kB / 1.402 GB, free: 8.102 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.588e-05/0.6311, allocations: 188.2 kB / 1.403 GB, free: 7.91 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.138e-05/0.6311, allocations: 180.2 kB / 1.403 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.6313, allocations: 303.8 kB / 1.403 GB, free: 7.406 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.6313, allocations: 116.8 kB / 1.403 GB, free: 7.285 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.6314, allocations: 184.3 kB / 1.403 GB, free: 7.098 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.6316, allocations: 104.9 kB / 1.403 GB, free: 6.988 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.6316, allocations: 180.3 kB / 1.404 GB, free: 6.805 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.6317, allocations: 108.9 kB / 1.404 GB, free: 6.691 MB / 1.092 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.6318, allocations: 91.44 kB / 1.404 GB, free: 6.602 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6318, allocations: 0 / 1.404 GB, free: 6.602 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002575/0.632, allocations: 4 kB / 1.404 GB, free: 6.598 MB / 1.092 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.0005172/0.6325, allocations: 0.8087 MB / 1.405 GB, free: 5.758 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 5.942e-05/0.6326, allocations: 3.938 kB / 1.405 GB, free: 5.754 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6326, allocations: 4 kB / 1.405 GB, free: 5.75 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6326, allocations: 0 / 1.405 GB, free: 5.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.633, allocations: 461.5 kB / 1.405 GB, free: 5.297 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.6335, allocations: 187.2 kB / 1.405 GB, free: 5.074 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.6335, allocations: 63.42 kB / 1.405 GB, free: 4.992 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.6336, allocations: 7.984 kB / 1.405 GB, free: 4.984 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.6336, allocations: 7.438 kB / 1.405 GB, free: 4.977 MB / 1.092 GB Notification: Performance of SimCode: time 4.31e-07/0.6336, allocations: 4 kB / 1.405 GB, free: 4.973 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.6652, allocations: 1.825 MB / 1.407 GB, free: 3.254 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.87, allocations: 11.94 kB / 1.407 GB, free: 3.242 MB / 1.092 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.951469209976494]