Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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: 99.89 kB / 15.73 MB, free: 6.012 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.001904/0.001904, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.727/2.727, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003261/0.003261, allocations: 71.88 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238/1.241, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.004198/1.246, allocations: 1.261 MB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001996/1.248, allocations: 0.749 MB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/1.248, allocations: 0 / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/1.248, allocations: 0 / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/1.248, allocations: 11.92 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/1.249, allocations: 54.61 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/1.249, allocations: 12 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/1.249, allocations: 11.97 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/1.249, allocations: 19.94 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/1.249, allocations: 11.92 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/1.249, allocations: 0 / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/1.249, allocations: 7.984 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/1.249, allocations: 4 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/1.25, allocations: 7.938 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/1.25, allocations: 19.97 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/1.25, allocations: 7.984 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/1.25, allocations: 0 / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.25, allocations: 0 / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006133/1.25, allocations: 331.1 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/1.25, allocations: 8.922 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/1.251, allocations: 110 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/1.251, allocations: 84.22 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/1.251, allocations: 243.6 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/1.251, allocations: 154.9 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.251, allocations: 158.9 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/1.252, allocations: 105.5 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.665e-05/1.252, allocations: 79.22 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.252, allocations: 154.5 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/1.252, allocations: 150.6 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/1.252, allocations: 150.6 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/1.253, allocations: 457.9 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/1.253, allocations: 169.1 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.13e-05/1.253, allocations: 84.14 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/1.253, allocations: 75.28 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.616e-05/1.253, allocations: 109.8 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/1.253, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001296/1.253, allocations: 33.58 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.253, allocations: 126.7 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/1.253, allocations: 113.8 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/1.254, allocations: 25.7 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/1.254, allocations: 84.14 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/1.254, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/1.254, allocations: 25.69 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.254, allocations: 310.8 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/1.254, allocations: 4 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/1.254, allocations: 15.98 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/1.254, allocations: 12.86 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.254, allocations: 0 / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/1.254, allocations: 45.58 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.254, allocations: 12.06 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.254, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.254, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/1.254, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.254, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/1.255, allocations: 7.938 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.255, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0002286/1.255, allocations: 189.1 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/1.255, allocations: 108.9 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/1.255, allocations: 116.5 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001258/1.255, allocations: 180.2 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001394/1.255, allocations: 184.2 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001361/1.256, allocations: 184.2 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/1.256, allocations: 397.2 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.893e-05/1.256, allocations: 112.9 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/1.256, allocations: 101 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/1.256, allocations: 188.1 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.257, allocations: 184.2 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001171/1.257, allocations: 180.2 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001128/1.257, allocations: 176.5 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/1.257, allocations: 315.8 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/1.257, allocations: 186 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.257, allocations: 188.1 kB / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/1.258, allocations: 101 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.258, allocations: 180.3 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/1.258, allocations: 116.9 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.877e-05/1.258, allocations: 87.52 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/1.258, allocations: 0 / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004427/1.259, allocations: 4 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001017/1.26, allocations: 0.8245 MB / 1.176 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.26, allocations: 11.92 kB / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.26, allocations: 0 / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/1.26, allocations: 0 / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/1.261, allocations: 464.3 kB / 1.176 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/1.262, allocations: 1.287 MB / 1.177 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/1.263, allocations: 0.6729 MB / 1.178 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.047e-05/1.263, allocations: 0 / 1.178 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/1.263, allocations: 11.42 kB / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of SimCode: time 8.62e-07/1.263, allocations: 0 / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/1.31, allocations: 1.282 MB / 1.179 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.5, allocations: 18.75 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches