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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 108.7 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 68.45 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3246, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002568/0.3272, allocations: 1.241 MB / 1.305 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.3293, allocations: 1.253 MB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3293, allocations: 3.938 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.3294, allocations: 3.984 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008687/0.3302, allocations: 214.7 kB / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.3304, allocations: 35.95 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.3304, allocations: 15.94 kB / 1.307 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.3305, allocations: 7.984 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.3305, allocations: 7.984 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2412/0.5717, allocations: 31.04 MB / 1.337 GB, free: 2.426 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.5717, allocations: 0 / 1.337 GB, free: 2.426 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.5717, allocations: 0 / 1.337 GB, free: 2.426 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.5717, allocations: 7.984 kB / 1.337 GB, free: 2.418 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.5718, allocations: 7.938 kB / 1.337 GB, free: 2.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.5719, allocations: 7.984 kB / 1.337 GB, free: 2.402 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5719, allocations: 4 kB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5719, allocations: 4 kB / 1.337 GB, free: 2.395 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.5719, allocations: 0 / 1.337 GB, free: 2.395 MB / 1.029 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.000351/0.5722, allocations: 323.5 kB / 1.337 GB, free: 2.031 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5723, allocations: 12.62 kB / 1.337 GB, free: 2.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.5724, allocations: 110 kB / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.5724, allocations: 76.22 kB / 1.338 GB, free: 1.828 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.5726, allocations: 243.7 kB / 1.338 GB, free: 1.551 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/0.5727, allocations: 154.9 kB / 1.338 GB, free: 1.398 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.5727, allocations: 150.9 kB / 1.338 GB, free: 1.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.5728, allocations: 104.9 kB / 1.338 GB, free: 1.141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.5728, allocations: 75.28 kB / 1.338 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.5729, allocations: 154.6 kB / 1.338 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.5729, allocations: 154.6 kB / 1.338 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.573, allocations: 158.5 kB / 1.339 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.5733, allocations: 445.9 kB / 1.339 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.5734, allocations: 165.1 kB / 1.339 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.5734, allocations: 80.14 kB / 1.339 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.5735, allocations: 91.16 kB / 1.339 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.5735, allocations: 113.7 kB / 1.339 GB, free: 15.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.5735, allocations: 0 / 1.339 GB, free: 15.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.221e-05/0.5736, allocations: 29.7 kB / 1.34 GB, free: 15.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.5737, allocations: 211.8 kB / 1.34 GB, free: 15.38 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.5738, allocations: 97.84 kB / 1.34 GB, free: 15.28 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5738, allocations: 29.7 kB / 1.34 GB, free: 15.24 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.5739, allocations: 80.14 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.5739, allocations: 0 / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.5739, allocations: 17.72 kB / 1.34 GB, free: 15.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.574, allocations: 314.8 kB / 1.34 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-06/0.574, allocations: 0 / 1.34 GB, free: 14.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.5741, allocations: 18.77 kB / 1.34 GB, free: 14.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.5741, allocations: 79.28 kB / 1.34 GB, free: 14.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.742e-05/0.5741, allocations: 79.22 kB / 1.34 GB, free: 14.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.349e-05/0.5742, allocations: 33.64 kB / 1.34 GB, free: 14.6 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.5742, allocations: 83.28 kB / 1.341 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.5743, allocations: 83.33 kB / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.969e-05/0.5743, allocations: 158.5 kB / 1.341 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.5744, allocations: 79.27 kB / 1.341 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.924e-05/0.5744, allocations: 162.5 kB / 1.341 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.5746, allocations: 75.28 kB / 1.341 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.5746, allocations: 75.28 kB / 1.341 GB, free: 13.89 MB / 1.045 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.0001291/0.5747, allocations: 264.4 kB / 1.341 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.5748, allocations: 116.8 kB / 1.341 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.5748, allocations: 108.1 kB / 1.342 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.961e-05/0.5749, allocations: 180.2 kB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.891e-05/0.575, allocations: 176.3 kB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.002e-05/0.575, allocations: 184.3 kB / 1.342 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.5753, allocations: 405.2 kB / 1.342 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/0.5753, allocations: 108.9 kB / 1.343 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.5754, allocations: 112.9 kB / 1.343 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.87e-05/0.5754, allocations: 176.3 kB / 1.343 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/0.5755, allocations: 180.3 kB / 1.343 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.768e-05/0.5756, allocations: 184.2 kB / 1.343 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/0.5757, allocations: 180.3 kB / 1.343 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.5758, allocations: 319.6 kB / 1.344 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.5759, allocations: 182 kB / 1.344 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.576, allocations: 184.2 kB / 1.344 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.5761, allocations: 105 kB / 1.344 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.5762, allocations: 188.2 kB / 1.344 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.5762, allocations: 105 kB / 1.344 GB, free: 10.28 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.681e-05/0.5763, allocations: 75.28 kB / 1.345 GB, free: 10.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5763, allocations: 7.938 kB / 1.345 GB, free: 10.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002328/0.5765, allocations: 0 / 1.345 GB, free: 10.2 MB / 1.045 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.0004451/0.5769, allocations: 0.8165 MB / 1.345 GB, free: 9.348 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.602e-05/0.577, allocations: 0 / 1.345 GB, free: 9.348 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.577, allocations: 0 / 1.345 GB, free: 9.348 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.577, allocations: 0 / 1.345 GB, free: 9.348 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.5774, allocations: 455.7 kB / 1.346 GB, free: 8.898 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.5778, allocations: 198.9 kB / 1.346 GB, free: 8.664 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5781, allocations: 0.6729 MB / 1.347 GB, free: 7.965 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.5781, allocations: 3.984 kB / 1.347 GB, free: 7.961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.5781, allocations: 7.438 kB / 1.347 GB, free: 7.953 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.5781, allocations: 0 / 1.347 GB, free: 7.953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9391/1.517, allocations: 1.273 MB / 1.348 GB, free: 6.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.97, allocations: 9.219 kB / 1.348 GB, free: 6.688 MB / 1.045 GB " [Timeout remaining time 286] (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_2/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: 20.901995562948287]