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.001289/0.001289, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001603/0.001603, allocations: 215.1 kB / 22.25 MB, free: 5.133 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.613/2.613, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002011/0.002011, allocations: 65.59 kB / 1.117 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 169.9 MB / 1.283 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002317/0.3308, allocations: 1.273 MB / 1.285 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3329, allocations: 1.346 MB / 1.286 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.3329, allocations: 0 / 1.286 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.333, allocations: 0 / 1.286 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006795/0.3336, allocations: 215.2 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.3337, allocations: 35.27 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.3338, allocations: 19.94 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.3339, allocations: 8 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.3339, allocations: 7.984 kB / 1.286 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2445/0.5784, allocations: 31.06 MB / 1.317 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.5784, allocations: 0 / 1.317 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.5784, allocations: 0 / 1.317 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.5785, allocations: 0 / 1.317 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.5785, allocations: 15.97 kB / 1.317 GB, free: 4.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.5786, allocations: 4 kB / 1.317 GB, free: 4.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5786, allocations: 3.938 kB / 1.317 GB, free: 4.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5786, allocations: 3.938 kB / 1.317 GB, free: 4.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.5787, allocations: 4 kB / 1.317 GB, free: 4.328 MB / 1.014 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.0003416/0.579, allocations: 250.4 kB / 1.317 GB, free: 4.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.579, allocations: 12.03 kB / 1.317 GB, free: 4.043 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.057e-05/0.5791, allocations: 106 kB / 1.317 GB, free: 3.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.5792, allocations: 76.22 kB / 1.317 GB, free: 3.855 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5793, allocations: 181.8 kB / 1.317 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.5794, allocations: 154.9 kB / 1.317 GB, free: 3.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.5795, allocations: 154.9 kB / 1.317 GB, free: 3.348 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/0.5795, allocations: 112.9 kB / 1.318 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.5796, allocations: 79.22 kB / 1.318 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.5797, allocations: 154.6 kB / 1.318 GB, free: 3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.5797, allocations: 154.5 kB / 1.318 GB, free: 2.848 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.285e-05/0.5798, allocations: 154.6 kB / 1.318 GB, free: 2.695 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.5801, allocations: 417 kB / 1.318 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.5802, allocations: 173.1 kB / 1.319 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.5802, allocations: 80.14 kB / 1.319 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.5803, allocations: 87.16 kB / 1.319 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.5803, allocations: 105.8 kB / 1.319 GB, free: 1.785 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.5803, allocations: 0 / 1.319 GB, free: 1.785 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.262e-05/0.5804, allocations: 37.7 kB / 1.319 GB, free: 1.742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5805, allocations: 203.8 kB / 1.319 GB, free: 1.512 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.5806, allocations: 97.84 kB / 1.319 GB, free: 1.406 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.5806, allocations: 25.7 kB / 1.319 GB, free: 1.375 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.5807, allocations: 88.14 kB / 1.319 GB, free: 1.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.5807, allocations: 0 / 1.319 GB, free: 1.285 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.5807, allocations: 13.72 kB / 1.319 GB, free: 1.266 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5808, allocations: 314.8 kB / 1.32 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.5808, allocations: 0 / 1.32 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.5809, allocations: 22.5 kB / 1.32 GB, free: 0.918 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.5809, allocations: 79.28 kB / 1.32 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/0.5809, allocations: 83.28 kB / 1.32 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.113e-05/0.581, allocations: 33.64 kB / 1.32 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.581, allocations: 79.28 kB / 1.32 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.5811, allocations: 75.28 kB / 1.32 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.729e-05/0.5812, allocations: 158.4 kB / 1.32 GB, free: 420 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.124e-05/0.5812, allocations: 79.28 kB / 1.32 GB, free: 340 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.374e-05/0.5812, allocations: 154.5 kB / 1.32 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.5814, allocations: 87.27 kB / 1.32 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.5814, allocations: 75.28 kB / 1.321 GB, free: 20 kB / 1.014 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.0001562/0.5816, allocations: 264.3 kB / 1.321 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.5817, allocations: 109.2 kB / 1.321 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.5817, allocations: 108.1 kB / 1.321 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/0.5818, allocations: 192.2 kB / 1.321 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.969e-05/0.5819, allocations: 184.3 kB / 1.321 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.671e-05/0.582, allocations: 180.2 kB / 1.322 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.5822, allocations: 372.3 kB / 1.322 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.431e-05/0.5823, allocations: 104.9 kB / 1.322 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.5823, allocations: 112.9 kB / 1.322 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/0.5824, allocations: 176.3 kB / 1.322 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.5825, allocations: 188.2 kB / 1.322 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.346e-05/0.5825, allocations: 176.3 kB / 1.323 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-05/0.5826, allocations: 180.2 kB / 1.323 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.5828, allocations: 311.7 kB / 1.323 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.5828, allocations: 116.8 kB / 1.323 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.5829, allocations: 176.3 kB / 1.323 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.5831, allocations: 105 kB / 1.323 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.5831, allocations: 188.2 kB / 1.324 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.5832, allocations: 113 kB / 1.324 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.5832, allocations: 79.28 kB / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5832, allocations: 0 / 1.324 GB, free: 12.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002496/0.5835, allocations: 4 kB / 1.324 GB, free: 12.46 MB / 1.029 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.0004593/0.584, allocations: 0.8126 MB / 1.325 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.584, allocations: 0 / 1.325 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.584, allocations: 0 / 1.325 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.584, allocations: 0 / 1.325 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.5844, allocations: 463.6 kB / 1.325 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.5848, allocations: 191.1 kB / 1.325 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5851, allocations: 0.6728 MB / 1.326 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.5851, allocations: 4 kB / 1.326 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.5852, allocations: 11.38 kB / 1.326 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.5852, allocations: 0 / 1.326 GB, free: 10.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.6148, allocations: 1.364 MB / 1.327 GB, free: 8.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.932/10.55, allocations: 7.922 kB / 1.327 GB, free: 8.914 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 16.77754236799956]