Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001015/0.001015, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000976/0.0009759, allocations: 192 kB / 16.53 MB, free: 6.391 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5014/0.5026, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002326/0.5049, allocations: 1.474 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006362/0.5056, allocations: 466.8 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.5056, allocations: 0 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.5056, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.5058, allocations: 27.84 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.219e-05/0.5059, allocations: 15.98 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.591e-05/0.506, allocations: 55.72 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.5061, allocations: 7.984 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.5062, allocations: 27.92 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.5062, allocations: 23.92 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.5063, allocations: 4 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.5063, allocations: 4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.5063, allocations: 11.97 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.5063, allocations: 19.88 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.296e-05/0.5064, allocations: 46.06 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5064, allocations: 4 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5064, allocations: 0 / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5064, allocations: 0 / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004715/0.5069, allocations: 359.3 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.507, allocations: 8.031 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.507, allocations: 34.75 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.507, allocations: 4.922 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5071, allocations: 180.2 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5072, allocations: 4.375 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.5072, allocations: 384 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.718e-05/0.5073, allocations: 57.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.5073, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.5073, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5073, allocations: 3.984 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.5074, allocations: 23.92 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.5077, allocations: 268.9 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.5078, allocations: 42.56 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.5078, allocations: 28.94 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.5078, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.508, allocations: 71.27 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.508, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001906/0.5082, allocations: 85.58 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5082, allocations: 51.41 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.5083, allocations: 109.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5083, allocations: 33.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.5083, allocations: 80.14 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.5084, allocations: 19.75 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.5084, allocations: 25.64 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5085, allocations: 318.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.5085, allocations: 12 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.5086, allocations: 11.98 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.5086, allocations: 32.86 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5086, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.278e-05/0.5087, allocations: 62.06 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5088, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.5088, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5088, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.5088, allocations: 12 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5089, allocations: 7.984 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.5089, allocations: 3.906 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5089, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.132e-05/0.509, allocations: 117.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.509, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.509, allocations: 3.969 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5091, allocations: 3.984 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5091, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5091, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.5092, allocations: 173.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5092, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.5092, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5092, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5092, allocations: 3.984 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5092, allocations: 8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5092, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.5094, allocations: 96.91 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.5094, allocations: 81.11 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.5094, allocations: 3.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.5095, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.5095, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5095, allocations: 7.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.5096, allocations: 91.22 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5096, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001803/0.5098, allocations: 12 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003583/0.5101, allocations: 0.6396 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.5103, allocations: 44.11 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5103, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.5103, allocations: 19.94 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.5104, allocations: 10.02 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.5114, allocations: 1.212 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.5116, allocations: 0.6807 MB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.5117, allocations: 7.984 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.5117, allocations: 15.44 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5117, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.5271, allocations: 1.494 MB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/7.119, allocations: 13.69 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches