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.001223/0.001223, allocations: 120.9 kB / 17.16 MB, free: 5.914 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.001268/0.001268, allocations: 208 kB / 20.13 MB, free: 2.969 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.385/1.385, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.827/2.827, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="cs",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.001933/0.001933, allocations: 75.88 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9063/0.9082, allocations: 179 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002104/0.9104, allocations: 1.253 MB / 1.341 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.9121, allocations: 1.258 MB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.9121, allocations: 1.062 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.9121, allocations: 0 / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000643/0.9128, allocations: 213.2 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.853e-05/0.9129, allocations: 36.67 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.9129, allocations: 14.42 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.913, allocations: 5.922 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.913, allocations: 18.41 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2378/1.151, allocations: 30.99 MB / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/1.151, allocations: 1.125 kB / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/1.151, allocations: 0 / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/1.151, allocations: 1.844 kB / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/1.151, allocations: 3.953 kB / 1.373 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/1.151, allocations: 14.91 kB / 1.373 GB, free: 15.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.151, allocations: 0.875 kB / 1.373 GB, free: 15.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.284e-06/1.151, allocations: 0 / 1.373 GB, free: 15.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.151, allocations: 4 kB / 1.373 GB, free: 15.95 MB / 1.076 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.0003812/1.151, allocations: 322.4 kB / 1.373 GB, free: 15.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.151, allocations: 9.844 kB / 1.373 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.78e-05/1.151, allocations: 75.47 kB / 1.374 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/1.152, allocations: 107.8 kB / 1.374 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/1.152, allocations: 80.91 kB / 1.374 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/1.152, allocations: 242.8 kB / 1.374 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/1.152, allocations: 154.9 kB / 1.374 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/1.152, allocations: 155.8 kB / 1.374 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/1.152, allocations: 106.8 kB / 1.374 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/1.152, allocations: 75.28 kB / 1.374 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/1.152, allocations: 151.6 kB / 1.375 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/1.152, allocations: 155.3 kB / 1.375 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/1.152, allocations: 159.5 kB / 1.375 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/1.153, allocations: 445.4 kB / 1.375 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/1.153, allocations: 167.9 kB / 1.375 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/1.153, allocations: 88.08 kB / 1.376 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/1.153, allocations: 75.28 kB / 1.376 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/1.153, allocations: 111.8 kB / 1.376 GB, free: 13.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.153, allocations: 0.875 kB / 1.376 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.351e-05/1.153, allocations: 36.23 kB / 1.376 GB, free: 13.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.153, allocations: 205.3 kB / 1.376 GB, free: 12.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/1.153, allocations: 103.8 kB / 1.376 GB, free: 12.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/1.153, allocations: 25.7 kB / 1.376 GB, free: 12.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/1.153, allocations: 82.19 kB / 1.376 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/1.153, allocations: 0 / 1.376 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/1.153, allocations: 14.52 kB / 1.376 GB, free: 12.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.153, allocations: 316.9 kB / 1.376 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/1.153, allocations: 3.938 kB / 1.376 GB, free: 12.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/1.153, allocations: 19.86 kB / 1.376 GB, free: 12.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/1.153, allocations: 80.81 kB / 1.377 GB, free: 12.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/1.153, allocations: 75.28 kB / 1.377 GB, free: 12.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.954e-05/1.154, allocations: 36.58 kB / 1.377 GB, free: 12.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/1.154, allocations: 86.34 kB / 1.377 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.154, allocations: 75.36 kB / 1.377 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-05/1.154, allocations: 160.6 kB / 1.377 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/1.154, allocations: 81.19 kB / 1.377 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.161e-05/1.154, allocations: 159.6 kB / 1.377 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/1.154, allocations: 83 kB / 1.377 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/1.154, allocations: 77.31 kB / 1.377 GB, free: 11.45 MB / 1.076 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.0001417/1.154, allocations: 259.4 kB / 1.378 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/1.154, allocations: 112 kB / 1.378 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/1.154, allocations: 114.5 kB / 1.378 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.796e-05/1.154, allocations: 178.3 kB / 1.378 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/1.154, allocations: 184.9 kB / 1.378 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-05/1.155, allocations: 178.3 kB / 1.378 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/1.155, allocations: 410.2 kB / 1.379 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.722e-05/1.155, allocations: 107.1 kB / 1.379 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/1.155, allocations: 102.9 kB / 1.379 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.254e-05/1.155, allocations: 182.1 kB / 1.379 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/1.155, allocations: 178.1 kB / 1.379 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.221e-05/1.155, allocations: 180.9 kB / 1.379 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-05/1.155, allocations: 178.3 kB / 1.38 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/1.155, allocations: 319 kB / 1.38 GB, free: 8.684 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/1.155, allocations: 180.4 kB / 1.38 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/1.156, allocations: 190 kB / 1.38 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.156, allocations: 105.7 kB / 1.38 GB, free: 8.188 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/1.156, allocations: 186.1 kB / 1.381 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/1.156, allocations: 102.9 kB / 1.381 GB, free: 7.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.098e-05/1.156, allocations: 78.55 kB / 1.381 GB, free: 7.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.156, allocations: 0 / 1.381 GB, free: 7.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002446/1.156, allocations: 3.969 kB / 1.381 GB, free: 7.82 MB / 1.076 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.0005071/1.157, allocations: 0.8138 MB / 1.382 GB, free: 7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/1.157, allocations: 2.672 kB / 1.382 GB, free: 7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.157, allocations: 5.062 kB / 1.382 GB, free: 6.996 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/1.157, allocations: 0 / 1.382 GB, free: 6.996 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/1.157, allocations: 460.7 kB / 1.382 GB, free: 6.547 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/1.158, allocations: 195.9 kB / 1.382 GB, free: 6.332 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.158, allocations: 0.6721 MB / 1.383 GB, free: 5.637 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.183e-05/1.158, allocations: 10.2 kB / 1.383 GB, free: 5.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/1.158, allocations: 8.5 kB / 1.383 GB, free: 5.621 MB / 1.076 GB Notification: Performance of SimCode: time 6.02e-07/1.158, allocations: 0.9688 kB / 1.383 GB, free: 5.621 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/1.195, allocations: 1.312 MB / 1.384 GB, free: 5.18 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.865, allocations: 10.5 kB / 1.384 GB, free: 5.176 MB / 1.076 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 15.057609224983025]