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.00136/0.00136, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.001561/0.001561, allocations: 215 kB / 20.13 MB, free: 2.949 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.679/2.679, allocations: 476.7 MB / 0.7678 GB, free: 9.438 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_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.001906/0.001906, allocations: 67.89 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8256, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002409/0.828, allocations: 1.252 MB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.83, allocations: 1.266 MB / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.83, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.83, allocations: 3.938 kB / 1.281 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.8308, allocations: 210 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.8309, allocations: 38.39 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.831, allocations: 12.89 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.831, allocations: 2.406 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.831, allocations: 18.17 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.244/1.075, allocations: 31 MB / 1.312 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/1.075, allocations: 0 / 1.312 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/1.075, allocations: 0 / 1.312 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/1.075, allocations: 3.625 kB / 1.312 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/1.075, allocations: 1.453 kB / 1.312 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/1.075, allocations: 21.84 kB / 1.312 GB, free: 11.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.075, allocations: 0 / 1.312 GB, free: 11.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.184e-06/1.075, allocations: 0 / 1.312 GB, free: 11.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.171e-05/1.075, allocations: 0 / 1.312 GB, free: 11.45 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.0003465/1.076, allocations: 325.6 kB / 1.312 GB, free: 11.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.076, allocations: 9.594 kB / 1.312 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.59e-05/1.076, allocations: 80.08 kB / 1.312 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/1.076, allocations: 110 kB / 1.312 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/1.076, allocations: 78.88 kB / 1.313 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/1.076, allocations: 241.1 kB / 1.313 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/1.076, allocations: 155.6 kB / 1.313 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/1.076, allocations: 158.3 kB / 1.313 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/1.076, allocations: 105.5 kB / 1.313 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/1.076, allocations: 75.28 kB / 1.313 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/1.076, allocations: 150.6 kB / 1.313 GB, free: 9.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/1.076, allocations: 150.6 kB / 1.314 GB, free: 9.762 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/1.076, allocations: 167.1 kB / 1.314 GB, free: 9.598 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/1.077, allocations: 444 kB / 1.314 GB, free: 9.121 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/1.077, allocations: 169.8 kB / 1.314 GB, free: 8.945 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/1.077, allocations: 84.08 kB / 1.314 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/1.077, allocations: 79.28 kB / 1.314 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/1.077, allocations: 114 kB / 1.315 GB, free: 8.664 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.077, allocations: 0 / 1.315 GB, free: 8.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.908e-05/1.077, allocations: 26.36 kB / 1.315 GB, free: 8.633 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.077, allocations: 208 kB / 1.315 GB, free: 8.402 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.077, allocations: 99.31 kB / 1.315 GB, free: 8.301 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/1.077, allocations: 25.7 kB / 1.315 GB, free: 8.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/1.077, allocations: 84.94 kB / 1.315 GB, free: 8.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/1.077, allocations: 0 / 1.315 GB, free: 8.184 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/1.077, allocations: 18.09 kB / 1.315 GB, free: 8.164 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.077, allocations: 313.6 kB / 1.315 GB, free: 7.852 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-06/1.077, allocations: 0 / 1.315 GB, free: 7.852 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/1.077, allocations: 18.19 kB / 1.315 GB, free: 7.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/1.077, allocations: 81.31 kB / 1.315 GB, free: 7.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-05/1.078, allocations: 79.28 kB / 1.315 GB, free: 7.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.175e-05/1.078, allocations: 37.09 kB / 1.315 GB, free: 7.633 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.078, allocations: 81.3 kB / 1.316 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.078, allocations: 76.61 kB / 1.316 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-05/1.078, allocations: 164.7 kB / 1.316 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.328e-05/1.078, allocations: 80.12 kB / 1.316 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/1.078, allocations: 160.5 kB / 1.316 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/1.078, allocations: 78.58 kB / 1.316 GB, free: 7.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/1.078, allocations: 77.28 kB / 1.316 GB, free: 6.941 MB / 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.000129/1.078, allocations: 259.8 kB / 1.316 GB, free: 6.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/1.078, allocations: 119.6 kB / 1.317 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/1.078, allocations: 106.4 kB / 1.317 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/1.078, allocations: 186.2 kB / 1.317 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.839e-05/1.078, allocations: 178.1 kB / 1.317 GB, free: 6.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.862e-05/1.078, allocations: 177.1 kB / 1.317 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/1.079, allocations: 411.2 kB / 1.318 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/1.079, allocations: 102.8 kB / 1.318 GB, free: 5.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/1.079, allocations: 110.7 kB / 1.318 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/1.079, allocations: 176.9 kB / 1.318 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/1.079, allocations: 178 kB / 1.318 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-05/1.079, allocations: 190.4 kB / 1.318 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.619e-05/1.079, allocations: 182.3 kB / 1.318 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/1.079, allocations: 314 kB / 1.319 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/1.079, allocations: 188.5 kB / 1.319 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/1.079, allocations: 182.8 kB / 1.319 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.08, allocations: 105.8 kB / 1.319 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/1.08, allocations: 182.1 kB / 1.319 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/1.08, allocations: 105.7 kB / 1.319 GB, free: 3.379 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.808e-05/1.08, allocations: 84.17 kB / 1.32 GB, free: 3.301 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.08, allocations: 0 / 1.32 GB, free: 3.301 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002384/1.08, allocations: 2.688 kB / 1.32 GB, free: 3.301 MB / 1.014 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.0004522/1.08, allocations: 0.813 MB / 1.32 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.351e-05/1.08, allocations: 1.938 kB / 1.32 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.08, allocations: 1.438 kB / 1.32 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/1.08, allocations: 0 / 1.32 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/1.081, allocations: 454.9 kB / 1.321 GB, free: 2.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/1.081, allocations: 200.2 kB / 1.321 GB, free: 1.816 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/1.082, allocations: 0.6799 MB / 1.322 GB, free: 1.113 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.779e-05/1.082, allocations: 2.344 kB / 1.322 GB, free: 1.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/1.082, allocations: 14.12 kB / 1.322 GB, free: 1.102 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.082, allocations: 0 / 1.322 GB, free: 1.102 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/1.101, allocations: 1.311 MB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.82, allocations: 6.734 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 14.752392296039034]