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.001879/0.001879, allocations: 107.5 kB / 16.45 MB, free: 6.5 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.002217/0.002217, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.413/1.413, allocations: 230.6 MB / 252.8 MB, free: 8.945 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 3.099/3.099, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.00194/0.00194, allocations: 81.64 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3134, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002468/0.3159, allocations: 1.258 MB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3179, allocations: 1.263 MB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.318, allocations: 0 / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.318, allocations: 0 / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.3188, allocations: 211.2 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.3189, allocations: 38.33 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.319, allocations: 19.91 kB / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.319, allocations: 0 / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.71e-05/0.319, allocations: 11.94 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2511/0.5702, allocations: 31 MB / 1.354 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.5702, allocations: 0 / 1.354 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.5702, allocations: 4 kB / 1.354 GB, free: 4.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.5702, allocations: 3.984 kB / 1.354 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.5703, allocations: 4 kB / 1.354 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.5704, allocations: 15.92 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5704, allocations: 0 / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5704, allocations: 0 / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.5704, allocations: 0 / 1.354 GB, free: 3.988 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.0003443/0.5707, allocations: 323.5 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5708, allocations: 15.97 kB / 1.354 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.5709, allocations: 106 kB / 1.354 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.5709, allocations: 80.22 kB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.5711, allocations: 243.5 kB / 1.355 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.5712, allocations: 154.9 kB / 1.355 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.5712, allocations: 150.9 kB / 1.355 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.971e-05/0.5713, allocations: 104.9 kB / 1.355 GB, free: 2.734 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.5713, allocations: 75.28 kB / 1.355 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.5714, allocations: 154.6 kB / 1.355 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.5714, allocations: 154.6 kB / 1.355 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.5715, allocations: 154.5 kB / 1.355 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.5718, allocations: 445.9 kB / 1.356 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.714e-05/0.5719, allocations: 169.1 kB / 1.356 GB, free: 1.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.5719, allocations: 84.14 kB / 1.356 GB, free: 1.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.572, allocations: 79.22 kB / 1.356 GB, free: 1.379 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/0.572, allocations: 109.8 kB / 1.356 GB, free: 1.262 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 2.515e-06/0.572, allocations: 3.984 kB / 1.356 GB, free: 1.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.339e-05/0.5721, allocations: 41.62 kB / 1.356 GB, free: 1.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.5722, allocations: 203.8 kB / 1.357 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5723, allocations: 97.86 kB / 1.357 GB, free: 0.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.5724, allocations: 25.7 kB / 1.357 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.5724, allocations: 84.14 kB / 1.357 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.5724, allocations: 4 kB / 1.357 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.5724, allocations: 13.7 kB / 1.357 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5726, allocations: 314.8 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-06/0.5726, allocations: 0 / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.5726, allocations: 30.52 kB / 1.357 GB, free: 388 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.5726, allocations: 75.28 kB / 1.357 GB, free: 312 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.99e-05/0.5727, allocations: 79.22 kB / 1.357 GB, free: 232 kB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.49e-05/0.5727, allocations: 41.53 kB / 1.357 GB, free: 184 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.5728, allocations: 83.27 kB / 1.357 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/0.5728, allocations: 79.33 kB / 1.357 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.15e-05/0.5729, allocations: 154.5 kB / 1.358 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.923e-05/0.5729, allocations: 83.28 kB / 1.358 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.894e-05/0.573, allocations: 150.6 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.5731, allocations: 87.22 kB / 1.358 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.5732, allocations: 79.27 kB / 1.358 GB, free: 15.47 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.0001342/0.5733, allocations: 260.4 kB / 1.358 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.5734, allocations: 112.9 kB / 1.358 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.5734, allocations: 104.1 kB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.167e-05/0.5735, allocations: 184.3 kB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.776e-05/0.5736, allocations: 188.2 kB / 1.359 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.8e-05/0.5737, allocations: 176.3 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.5739, allocations: 405.2 kB / 1.359 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/0.5739, allocations: 112.9 kB / 1.359 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.574, allocations: 101 kB / 1.36 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/0.5741, allocations: 180.2 kB / 1.36 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.5741, allocations: 180.3 kB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.729e-05/0.5742, allocations: 180.2 kB / 1.36 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.151e-05/0.5743, allocations: 188.2 kB / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.5744, allocations: 303.8 kB / 1.361 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.5745, allocations: 186 kB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.5746, allocations: 184.2 kB / 1.361 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5747, allocations: 109 kB / 1.361 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.5748, allocations: 184.2 kB / 1.361 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.5749, allocations: 101 kB / 1.361 GB, free: 11.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.5749, allocations: 83.27 kB / 1.361 GB, free: 11.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.5749, allocations: 0 / 1.361 GB, free: 11.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002424/0.5751, allocations: 4 kB / 1.361 GB, free: 11.8 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.000442/0.5756, allocations: 0.8125 MB / 1.362 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.659e-05/0.5756, allocations: 3.984 kB / 1.362 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5756, allocations: 4 kB / 1.362 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.5756, allocations: 3.938 kB / 1.362 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.5764, allocations: 463.6 kB / 1.363 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.5769, allocations: 195 kB / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.5771, allocations: 0.6729 MB / 1.363 GB, free: 9.555 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.5772, allocations: 4 kB / 1.363 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.5772, allocations: 11.38 kB / 1.363 GB, free: 9.539 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.5772, allocations: 3.938 kB / 1.363 GB, free: 9.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.6167, allocations: 1.269 MB / 1.365 GB, free: 8.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/8.166, allocations: 9.266 kB / 1.365 GB, free: 8.273 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.623211501166224]