Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_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.001928/0.001928, 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.002055/0.002055, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 74.72 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2664, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.0026/0.269, allocations: 1.472 MB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.2698, allocations: 472.6 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.2698, allocations: 0 / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.2698, allocations: 3.984 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.27, allocations: 31.78 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.159e-05/0.2701, allocations: 11.98 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.2702, allocations: 59.73 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.2703, allocations: 11.98 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.2704, allocations: 23.91 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2704, allocations: 19.92 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2705, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.2705, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2705, allocations: 7.984 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2706, allocations: 31.8 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.851e-05/0.2706, allocations: 44.09 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2707, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2707, allocations: 4 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2707, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 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.0005187/0.2712, allocations: 363.3 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.2712, allocations: 8.031 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.2713, allocations: 30.75 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2713, allocations: 12.84 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2714, allocations: 164.4 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2715, allocations: 4.375 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.2715, allocations: 12.36 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2716, allocations: 49.81 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2716, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2716, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2716, allocations: 4 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.2717, allocations: 19.92 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.272, allocations: 272.8 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.2721, allocations: 46.56 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.2722, allocations: 20.86 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.2722, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.2723, allocations: 63.42 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.2724, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0002058/0.2726, allocations: 77.67 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2726, allocations: 55.41 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.2727, allocations: 117.8 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.2727, allocations: 25.7 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.2728, allocations: 99.97 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.2728, allocations: 7.891 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2729, allocations: 17.72 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.273, allocations: 322.8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.273, allocations: 11.98 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.2731, allocations: 15.94 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.2731, allocations: 32.86 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2731, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/0.2733, allocations: 65.97 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2733, allocations: 4 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2733, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2733, allocations: 64 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.2734, allocations: 15.98 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2734, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.2734, allocations: 15.88 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2735, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 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 9.067e-05/0.2736, allocations: 125.8 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.2736, allocations: 3.906 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.2736, allocations: 7.969 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2736, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2736, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2736, allocations: 0 / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2738, allocations: 173.6 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2738, allocations: 0 / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.2738, allocations: 4 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2738, allocations: 8 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2738, allocations: 0 / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2738, allocations: 0 / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2738, allocations: 0 / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.274, allocations: 101 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.274, allocations: 92.94 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2741, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.2741, allocations: 4 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.2742, allocations: 11.98 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2742, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.2742, allocations: 99.5 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2742, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001845/0.2744, allocations: 12 kB / 1.069 GB, free: 9.176 MB / 0.8262 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.0004473/0.2749, allocations: 0.6325 MB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.275, allocations: 40.05 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.275, allocations: 0 / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.2751, allocations: 19.98 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.2752, allocations: 5.406 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2763, allocations: 1.214 MB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2767, allocations: 0.6846 MB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.2767, allocations: 8 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.2767, allocations: 11.44 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2767, allocations: 0 / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/0.5963, allocations: 1.481 MB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/9.571, allocations: 7.797 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches