Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_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.004974/0.004974, allocations: 98.55 kB / 15.73 MB, free: 6.039 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.001225/0.001225, allocations: 201.7 kB / 16.68 MB, free: 5.965 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 70.86 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2473, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002681/0.2501, allocations: 1.48 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.2508, allocations: 464.2 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.2509, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.251, allocations: 7.922 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.2512, allocations: 23.84 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.2513, allocations: 24.34 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.2514, allocations: 47.8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.2515, allocations: 8 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2516, allocations: 31.84 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.2517, allocations: 19.91 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2517, allocations: 4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2517, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2518, allocations: 8 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.2518, allocations: 31.84 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.2519, allocations: 39.69 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2519, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2519, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2519, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 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.0005582/0.2525, allocations: 355.3 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2525, allocations: 8.031 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.2526, allocations: 38.75 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.2526, allocations: 4.891 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2528, allocations: 172.4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2528, allocations: 8.312 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.2528, allocations: 4.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2529, allocations: 49.81 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.253, allocations: 4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.253, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.253, allocations: 3.938 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.253, allocations: 19.98 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.2534, allocations: 284.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2535, allocations: 46.5 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.2536, allocations: 20.86 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.2536, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.2538, allocations: 67.47 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.2538, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002136/0.254, allocations: 85.58 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2541, allocations: 59.34 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.2541, allocations: 109.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2542, allocations: 25.7 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.2542, allocations: 84.14 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2542, allocations: 15.89 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.2543, allocations: 17.72 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2544, allocations: 322.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.2545, allocations: 16 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.2545, allocations: 12 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.2545, allocations: 32.84 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2546, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000106/0.2547, allocations: 62.08 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2547, allocations: 9.391 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2547, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2547, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.2548, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2548, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.2549, allocations: 11.95 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2549, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 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 8.47e-05/0.255, allocations: 121.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.255, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.255, allocations: 11.95 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.255, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.255, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2551, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.2552, allocations: 177.6 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2552, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.2552, allocations: 7.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2552, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2553, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2553, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2553, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.2554, allocations: 108.9 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2555, allocations: 81.05 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2555, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.2556, allocations: 7.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.2556, allocations: 3.984 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2556, allocations: 8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.2557, allocations: 91.27 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2557, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001902/0.2559, allocations: 8 kB / 1.092 GB, free: 12.91 MB / 0.8575 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.0004039/0.2563, allocations: 0.6402 MB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.2564, allocations: 40.11 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2565, allocations: 3.938 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.2565, allocations: 16 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.2566, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2577, allocations: 1.214 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.258, allocations: 0.6846 MB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.258, allocations: 8 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.258, allocations: 15.42 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2581, allocations: 4 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.2749, allocations: 1.517 MB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.297, allocations: 14.09 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches