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.002096/0.002096, allocations: 101 kB / 16.45 MB, free: 6.449 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.002436/0.002436, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.697/1.697, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.995/2.995, allocations: 0.49 GB / 0.7916 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001926/0.001926, allocations: 65.61 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3353, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002608/0.338, allocations: 1.256 MB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3401, allocations: 1.261 MB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.3401, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.3401, allocations: 3.938 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008389/0.341, allocations: 203.3 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.3411, allocations: 39.08 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.3412, allocations: 15.92 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.3412, allocations: 7.984 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.3412, allocations: 11.94 kB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2445/0.5857, allocations: 31 MB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.5857, allocations: 0 / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.5858, allocations: 0 / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.5858, allocations: 3.984 kB / 1.354 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.5858, allocations: 4 kB / 1.354 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.5859, allocations: 15.92 kB / 1.354 GB, free: 3.965 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5859, allocations: 7.938 kB / 1.354 GB, free: 3.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5859, allocations: 0 / 1.354 GB, free: 3.957 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.5859, allocations: 0 / 1.354 GB, free: 3.957 MB / 1.045 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.0003856/0.5863, allocations: 327.5 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5864, allocations: 11.98 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.885e-05/0.5865, allocations: 114 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.5865, allocations: 76.22 kB / 1.354 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.5867, allocations: 235.7 kB / 1.355 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.5868, allocations: 154.9 kB / 1.355 GB, free: 2.961 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.5869, allocations: 154.9 kB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.5869, allocations: 104.9 kB / 1.355 GB, free: 2.699 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.587, allocations: 75.28 kB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.5871, allocations: 150.6 kB / 1.355 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/0.5871, allocations: 158.5 kB / 1.355 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.5872, allocations: 162.5 kB / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.5875, allocations: 442 kB / 1.356 GB, free: 1.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.5877, allocations: 169.1 kB / 1.356 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.5877, allocations: 84.14 kB / 1.356 GB, free: 1.418 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.5877, allocations: 79.22 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.5878, allocations: 113.8 kB / 1.356 GB, free: 1.219 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.5878, allocations: 3.938 kB / 1.356 GB, free: 1.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.864e-05/0.5879, allocations: 29.7 kB / 1.356 GB, free: 1.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.588, allocations: 203.8 kB / 1.357 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.5881, allocations: 101.9 kB / 1.357 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5882, allocations: 25.7 kB / 1.357 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.5882, allocations: 84.14 kB / 1.357 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.5882, allocations: 0 / 1.357 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.5882, allocations: 21.7 kB / 1.357 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5884, allocations: 310.8 kB / 1.357 GB, free: 392 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.5884, allocations: 3.938 kB / 1.357 GB, free: 388 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.5885, allocations: 18.58 kB / 1.357 GB, free: 360 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.5885, allocations: 79.28 kB / 1.357 GB, free: 280 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/0.5885, allocations: 75.28 kB / 1.357 GB, free: 204 kB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.145e-05/0.5886, allocations: 45.52 kB / 1.357 GB, free: 152 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.5886, allocations: 79.28 kB / 1.357 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/0.5887, allocations: 79.33 kB / 1.357 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.929e-05/0.5888, allocations: 162.5 kB / 1.358 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.5888, allocations: 79.28 kB / 1.358 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.51e-05/0.5889, allocations: 158.5 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.5891, allocations: 83.27 kB / 1.358 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.5891, allocations: 75.28 kB / 1.358 GB, free: 15.44 MB / 1.061 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.0001536/0.5893, allocations: 260.4 kB / 1.358 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.5893, allocations: 116.8 kB / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.5894, allocations: 112.1 kB / 1.358 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-05/0.5895, allocations: 184.2 kB / 1.359 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.249e-05/0.5896, allocations: 176.3 kB / 1.359 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.521e-05/0.5896, allocations: 176.3 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.5899, allocations: 409.2 kB / 1.359 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.051e-05/0.5899, allocations: 108.9 kB / 1.359 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.59, allocations: 104.9 kB / 1.36 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008282/0.5908, allocations: 180.3 kB / 1.36 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.5909, allocations: 176.3 kB / 1.36 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.304e-05/0.591, allocations: 188.2 kB / 1.36 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-05/0.5911, allocations: 180.3 kB / 1.36 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.5912, allocations: 307.8 kB / 1.361 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.5913, allocations: 190 kB / 1.361 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.5914, allocations: 180.2 kB / 1.361 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5915, allocations: 105 kB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.5916, allocations: 184.2 kB / 1.361 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.5917, allocations: 109 kB / 1.361 GB, free: 11.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.5917, allocations: 79.28 kB / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5917, allocations: 0 / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002658/0.592, allocations: 4 kB / 1.361 GB, free: 11.76 MB / 1.061 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.0004436/0.5924, allocations: 0.8126 MB / 1.362 GB, free: 10.92 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.802e-05/0.5925, allocations: 4 kB / 1.362 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5925, allocations: 3.938 kB / 1.362 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5925, allocations: 0 / 1.362 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.5928, allocations: 455.7 kB / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.5933, allocations: 202.9 kB / 1.363 GB, free: 10.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.5935, allocations: 0.669 MB / 1.363 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.5936, allocations: 4.375 kB / 1.363 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.5936, allocations: 7.438 kB / 1.363 GB, free: 9.516 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.5936, allocations: 0 / 1.363 GB, free: 9.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.6194, allocations: 1.272 MB / 1.365 GB, free: 8.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/8.098, allocations: 4.766 kB / 1.365 GB, free: 8.25 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/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: 14.714140002150089]