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.001313/0.001313, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001478/0.001478, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.99/2.99, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.001879/0.001879, allocations: 68.33 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.319, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002287/0.3212, allocations: 1.242 MB / 1.346 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3233, allocations: 1.325 MB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.3233, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.3233, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.324, allocations: 219.2 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.3241, allocations: 42.23 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.3241, allocations: 15.94 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.3242, allocations: 4 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.3242, allocations: 4 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2467/0.5709, allocations: 31.05 MB / 1.378 GB, free: 368 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.5709, allocations: 0 / 1.378 GB, free: 368 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.5709, allocations: 0 / 1.378 GB, free: 368 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.5709, allocations: 0 / 1.378 GB, free: 368 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.571, allocations: 11.92 kB / 1.378 GB, free: 356 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.5711, allocations: 15.92 kB / 1.378 GB, free: 340 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5711, allocations: 0 / 1.378 GB, free: 340 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5711, allocations: 0 / 1.378 GB, free: 340 kB / 1.061 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.5711, allocations: 0 / 1.378 GB, free: 340 kB / 1.061 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.0002973/0.5714, allocations: 242.5 kB / 1.379 GB, free: 68 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5714, allocations: 12.03 kB / 1.379 GB, free: 56 kB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.726e-05/0.5715, allocations: 79.47 kB / 1.379 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.5715, allocations: 106 kB / 1.379 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.5716, allocations: 80.22 kB / 1.379 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.5718, allocations: 185.7 kB / 1.379 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.5718, allocations: 154.9 kB / 1.379 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.5719, allocations: 162.7 kB / 1.379 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.572, allocations: 109 kB / 1.379 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.572, allocations: 75.28 kB / 1.38 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.5721, allocations: 154.6 kB / 1.38 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.5722, allocations: 154.6 kB / 1.38 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.5722, allocations: 154.6 kB / 1.38 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.5725, allocations: 421 kB / 1.38 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.5726, allocations: 165.1 kB / 1.381 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.5727, allocations: 84.08 kB / 1.381 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.5727, allocations: 75.28 kB / 1.381 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.5727, allocations: 113.8 kB / 1.381 GB, free: 13.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.5727, allocations: 0 / 1.381 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.916e-05/0.5728, allocations: 33.58 kB / 1.381 GB, free: 13.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.5729, allocations: 211.8 kB / 1.381 GB, free: 13.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.573, allocations: 93.86 kB / 1.381 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5731, allocations: 25.7 kB / 1.381 GB, free: 13.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.5731, allocations: 92.06 kB / 1.381 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.5731, allocations: 0 / 1.381 GB, free: 13.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.5731, allocations: 17.72 kB / 1.381 GB, free: 13.19 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5733, allocations: 314.8 kB / 1.382 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.5733, allocations: 0 / 1.382 GB, free: 12.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.5734, allocations: 95.69 kB / 1.382 GB, free: 12.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.5734, allocations: 79.27 kB / 1.382 GB, free: 12.67 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.831e-05/0.5734, allocations: 75.28 kB / 1.382 GB, free: 12.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.352e-05/0.5735, allocations: 37.58 kB / 1.382 GB, free: 12.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.5735, allocations: 87.19 kB / 1.382 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.5736, allocations: 87.27 kB / 1.382 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/0.5736, allocations: 150.6 kB / 1.382 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.874e-05/0.5737, allocations: 79.22 kB / 1.382 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.673e-05/0.5737, allocations: 150.6 kB / 1.382 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.5739, allocations: 87.2 kB / 1.382 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5739, allocations: 79.28 kB / 1.383 GB, free: 11.84 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.0001359/0.574, allocations: 264.3 kB / 1.383 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.5741, allocations: 112.9 kB / 1.383 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.5742, allocations: 111.9 kB / 1.383 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-05/0.5743, allocations: 188.3 kB / 1.383 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.24e-05/0.5743, allocations: 184.2 kB / 1.383 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.38e-05/0.5744, allocations: 180.3 kB / 1.384 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.5746, allocations: 380.2 kB / 1.384 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/0.5747, allocations: 101 kB / 1.384 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.5747, allocations: 105 kB / 1.384 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.886e-05/0.5748, allocations: 184.2 kB / 1.384 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.5749, allocations: 176.3 kB / 1.384 GB, free: 9.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.125e-05/0.5749, allocations: 188.2 kB / 1.385 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.095e-05/0.575, allocations: 176.3 kB / 1.385 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.5752, allocations: 311.7 kB / 1.385 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.5752, allocations: 105 kB / 1.385 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.5753, allocations: 188.2 kB / 1.385 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5754, allocations: 104.9 kB / 1.385 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.5755, allocations: 184.3 kB / 1.386 GB, free: 8.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.5756, allocations: 112.9 kB / 1.386 GB, free: 8.355 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.5756, allocations: 83.5 kB / 1.386 GB, free: 8.273 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5756, allocations: 0 / 1.386 GB, free: 8.273 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002483/0.5759, allocations: 4 kB / 1.386 GB, free: 8.27 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.0004361/0.5763, allocations: 0.8053 MB / 1.387 GB, free: 7.434 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.9e-05/0.5763, allocations: 3.938 kB / 1.387 GB, free: 7.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5764, allocations: 7.938 kB / 1.387 GB, free: 7.422 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.5764, allocations: 0 / 1.387 GB, free: 7.422 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.5767, allocations: 461.4 kB / 1.387 GB, free: 6.969 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.5772, allocations: 194.6 kB / 1.387 GB, free: 6.738 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.144e-05/0.5772, allocations: 51.36 kB / 1.387 GB, free: 6.668 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.5772, allocations: 4 kB / 1.387 GB, free: 6.664 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.5773, allocations: 7.438 kB / 1.387 GB, free: 6.656 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/0.5773, allocations: 4 kB / 1.387 GB, free: 6.652 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.5997, allocations: 1.481 MB / 1.389 GB, free: 5.289 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.09, allocations: 9.891 kB / 1.389 GB, free: 5.281 MB / 1.076 GB " [Timeout remaining time 289] (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: 17.44828368606977]