Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007967/0.007967, allocations: 106 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 189.2 kB / 16.68 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 482.4 MB / 0.7548 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.33 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2794, allocations: 162.2 MB / 1.241 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.00625/0.2856, allocations: 4.525 MB / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.4532, allocations: 150.6 MB / 1.393 GB, free: 13.62 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.4539, allocations: 15.94 kB / 1.393 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.4544, allocations: 182.3 kB / 1.393 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.4559, allocations: 0.4996 MB / 1.394 GB, free: 12.93 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.4576, allocations: 0.7586 MB / 1.394 GB, free: 12.18 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.4589, allocations: 1.246 MB / 1.396 GB, free: 10.93 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.4596, allocations: 498.6 kB / 1.396 GB, free: 10.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.4601, allocations: 414.5 kB / 1.396 GB, free: 10.01 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.4607, allocations: 430.1 kB / 1.397 GB, free: 9.59 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.4608, allocations: 96 kB / 1.397 GB, free: 9.496 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006765/0.4615, allocations: 403.6 kB / 1.397 GB, free: 9.102 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.4618, allocations: 255.2 kB / 1.398 GB, free: 8.852 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.4622, allocations: 485.5 kB / 1.398 GB, free: 8.375 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.4638, allocations: 1.42 MB / 1.399 GB, free: 6.949 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4639, allocations: 8 kB / 1.399 GB, free: 6.941 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4639, allocations: 0 / 1.399 GB, free: 6.941 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.4639, allocations: 0 / 1.399 GB, free: 6.941 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00216/0.466, allocations: 1.311 MB / 1.401 GB, free: 5.578 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4661, allocations: 12.03 kB / 1.401 GB, free: 5.566 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.4662, allocations: 106.7 kB / 1.401 GB, free: 5.453 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.4665, allocations: 116.3 kB / 1.401 GB, free: 5.34 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.4676, allocations: 0.7232 MB / 1.402 GB, free: 4.574 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.4677, allocations: 50 kB / 1.402 GB, free: 4.523 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.4678, allocations: 67.98 kB / 1.402 GB, free: 4.457 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.4691, allocations: 0.7682 MB / 1.402 GB, free: 3.637 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4691, allocations: 7.938 kB / 1.402 GB, free: 3.629 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.4692, allocations: 31.98 kB / 1.402 GB, free: 3.598 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4692, allocations: 20 kB / 1.402 GB, free: 3.578 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.4707, allocations: 0.9689 MB / 1.403 GB, free: 2.609 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.4741, allocations: 2.463 MB / 1.406 GB, free: 68 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.4754, allocations: 0.6838 MB / 1.407 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.4758, allocations: 247.4 kB / 1.407 GB, free: 15.12 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.4759, allocations: 36.44 kB / 1.407 GB, free: 15.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006909/0.4766, allocations: 422.3 kB / 1.407 GB, free: 14.65 MB / 1.139 GB Notification: Performance of pre-optimization done (n=70): time 2.174e-06/0.4766, allocations: 0 / 1.407 GB, free: 14.65 MB / 1.139 GB Notification: Performance of matching and sorting (n=70): time 0.001574/0.4782, allocations: 0.8381 MB / 1.408 GB, free: 13.81 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.4783, allocations: 251.9 kB / 1.408 GB, free: 13.51 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008085/0.4792, allocations: 0.6292 MB / 1.409 GB, free: 12.87 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/0.4792, allocations: 41.7 kB / 1.409 GB, free: 12.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.4795, allocations: 365 kB / 1.409 GB, free: 12.46 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.4797, allocations: 234 kB / 1.409 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.48, allocations: 134.2 kB / 1.41 GB, free: 12.09 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4802, allocations: 386.8 kB / 1.41 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.4805, allocations: 197.2 kB / 1.41 GB, free: 11.51 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.481, allocations: 329.4 kB / 1.41 GB, free: 11.15 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.4819, allocations: 0.4977 MB / 1.411 GB, free: 10.64 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4819, allocations: 0 / 1.411 GB, free: 10.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001128/0.483, allocations: 0.6451 MB / 1.412 GB, free: 9.984 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4831, allocations: 4 kB / 1.412 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4831, allocations: 4.062 kB / 1.412 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4831, allocations: 12.16 kB / 1.412 GB, free: 9.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.4836, allocations: 135.7 kB / 1.412 GB, free: 9.832 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4836, allocations: 4 kB / 1.412 GB, free: 9.828 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.4842, allocations: 85.61 kB / 1.412 GB, free: 9.746 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.4842, allocations: 23.98 kB / 1.412 GB, free: 9.723 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0003408/0.4846, allocations: 265.5 kB / 1.412 GB, free: 9.453 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.4847, allocations: 83.48 kB / 1.412 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.4864, allocations: 0.8486 MB / 1.413 GB, free: 8.508 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4864, allocations: 11.94 kB / 1.413 GB, free: 8.496 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.4864, allocations: 8 kB / 1.413 GB, free: 8.488 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4864, allocations: 3.984 kB / 1.413 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.4876, allocations: 0.9639 MB / 1.414 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4876, allocations: 0 / 1.414 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004576/0.4881, allocations: 127.7 kB / 1.414 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.4881, allocations: 7.984 kB / 1.414 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/0.4881, allocations: 28.02 kB / 1.414 GB, free: 7.301 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.4881, allocations: 4 kB / 1.414 GB, free: 7.297 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4881, allocations: 3.984 kB / 1.414 GB, free: 7.293 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4894, allocations: 0.7359 MB / 1.415 GB, free: 6.535 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.4897, allocations: 268.2 kB / 1.415 GB, free: 6.254 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4898, allocations: 20 kB / 1.415 GB, free: 6.234 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.4904, allocations: 55.94 kB / 1.415 GB, free: 6.18 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4905, allocations: 60.58 kB / 1.415 GB, free: 6.121 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.4906, allocations: 31.97 kB / 1.415 GB, free: 6.09 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005787/0.4912, allocations: 451 kB / 1.416 GB, free: 5.656 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4912, allocations: 0 / 1.416 GB, free: 5.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006734/0.4919, allocations: 275.3 kB / 1.416 GB, free: 5.387 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003348/0.4952, allocations: 1.804 MB / 1.418 GB, free: 3.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009712/0.4962, allocations: 0.5483 MB / 1.418 GB, free: 3.184 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4962, allocations: 320 / 1.418 GB, free: 3.184 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.4967, allocations: 323.6 kB / 1.419 GB, free: 2.867 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4978, allocations: 280.9 kB / 1.419 GB, free: 2.617 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/0.5057, allocations: 5.547 MB / 1.424 GB, free: 12.95 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.5063, allocations: 0.9796 MB / 1.425 GB, free: 11.94 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007183/0.5071, allocations: 246.3 kB / 1.425 GB, free: 11.7 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/0.5076, allocations: 331.3 kB / 1.426 GB, free: 11.37 MB / 1.154 GB Notification: Performance of SimCode: time 4.41e-07/0.5076, allocations: 0 / 1.426 GB, free: 11.37 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.555, allocations: 18.66 MB / 1.444 GB, free: 8.977 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.215/9.77, allocations: 11.19 kB / 1.444 GB, free: 8.969 MB / 1.17 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14653.4 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches