Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 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.001155/0.001155, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.202/1.202, 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.0.1-master/package.mo): time 2.444/2.444, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 66.19 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2339, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002382/0.2363, allocations: 1.487 MB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.237, allocations: 460.5 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.2371, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.2371, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.2373, allocations: 23.78 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.959e-05/0.2374, allocations: 23.98 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.2375, allocations: 59.7 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.9e-05/0.2375, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.001e-05/0.2376, allocations: 23.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.2377, allocations: 15.92 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.2377, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.2377, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.2378, allocations: 15.97 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.2378, allocations: 19.88 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.741e-05/0.2379, allocations: 48.09 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2379, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2379, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2379, allocations: 3.938 kB / 1.066 GB, free: 12.32 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.0004436/0.2384, allocations: 347.4 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2384, allocations: 8.031 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.2384, allocations: 42.73 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.2385, allocations: 8.828 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2386, allocations: 172.4 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2386, allocations: 384 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.2386, allocations: 4.375 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.2387, allocations: 53.8 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.2387, allocations: 4 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.2387, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2387, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.2388, allocations: 23.92 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.2391, allocations: 276.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.2392, allocations: 38.58 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.2392, allocations: 24.94 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.2393, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.2394, allocations: 67.33 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2394, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001855/0.2396, allocations: 85.67 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.2396, allocations: 59.34 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.2397, allocations: 117.7 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2397, allocations: 25.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.2398, allocations: 92.05 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2398, allocations: 3.906 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.2398, allocations: 21.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.2399, allocations: 318.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.24, allocations: 23.92 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.24, allocations: 12 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.24, allocations: 28.86 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.24, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.642e-05/0.2401, allocations: 65.59 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2402, allocations: 5.562 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.2402, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2402, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.2403, allocations: 7.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2403, allocations: 3.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.2403, allocations: 8 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.2403, allocations: 0 / 1.068 GB, free: 10.18 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 7.068e-05/0.2404, allocations: 118.3 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2404, allocations: 7.906 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.2405, allocations: 11.95 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2405, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2405, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2405, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2406, allocations: 173.6 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2406, allocations: 4 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.2406, allocations: 8.422 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2406, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2406, allocations: 0 / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2407, allocations: 4 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2407, allocations: 0 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.2408, allocations: 101 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.2408, allocations: 88.94 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2408, allocations: 4 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.2409, allocations: 7.984 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.2409, allocations: 7.922 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.241, allocations: 8 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.241, allocations: 87.59 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.241, allocations: 0 / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001776/0.2412, allocations: 8 kB / 1.068 GB, free: 9.453 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.0003288/0.2415, allocations: 0.6396 MB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.2416, allocations: 39.98 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2416, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.2417, allocations: 19.98 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.2418, allocations: 7.984 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.2427, allocations: 1.208 MB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2429, allocations: 0.6846 MB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.243, allocations: 7.984 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.243, allocations: 15.44 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.243, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.2584, allocations: 1.494 MB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.567/6.826, allocations: 11.41 kB / 1.072 GB, free: 5.324 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches