Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.004185/0.004185, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001033/0.001033, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.95 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2846, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00227/0.2869, allocations: 1.266 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.288, allocations: 0.7353 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.288, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.288, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.2883, allocations: 11.94 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.2885, allocations: 52.41 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.2886, allocations: 23.92 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2886, allocations: 3.984 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.2887, allocations: 11.94 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2888, allocations: 7.984 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.2888, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.2889, allocations: 15.98 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.2889, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.289, allocations: 11.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.268e-05/0.2891, allocations: 23.97 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2891, allocations: 3.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2891, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2891, allocations: 0 / 1.09 GB, free: 15.77 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003196/0.2894, allocations: 322.4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2895, allocations: 15.97 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.2895, allocations: 110 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.2896, allocations: 80.12 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.2897, allocations: 240.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.2898, allocations: 154.9 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2899, allocations: 150.9 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.209e-05/0.2899, allocations: 109.5 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.29, allocations: 83.22 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.29, allocations: 150.6 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.2901, allocations: 150.6 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.2901, allocations: 158.5 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.2904, allocations: 445.9 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.2905, allocations: 173.1 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.2905, allocations: 80.14 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.2906, allocations: 75.28 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.2906, allocations: 113.8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2906, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.7e-05/0.2907, allocations: 33.69 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.2908, allocations: 134.7 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2909, allocations: 106.1 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2909, allocations: 25.7 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.291, allocations: 88.03 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-06/0.291, allocations: 3.984 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.291, allocations: 13.72 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.2911, allocations: 318.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.2911, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.2912, allocations: 11.98 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.2912, allocations: 20.8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2912, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/0.2913, allocations: 41.69 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2914, allocations: 9.656 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2914, allocations: 3.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2914, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.2914, allocations: 4.125 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2914, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2916, allocations: 12.17 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.2916, allocations: 4 kB / 1.093 GB, free: 12.16 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: 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 9.743e-05/0.2917, allocations: 185.1 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.2918, allocations: 112.8 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.2918, allocations: 108.5 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-05/0.2919, allocations: 192.2 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.543e-05/0.292, allocations: 176.3 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/0.292, allocations: 176.3 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.2922, allocations: 409.2 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/0.2923, allocations: 101 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.2923, allocations: 109.1 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.755e-05/0.2924, allocations: 188.2 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.2925, allocations: 176.3 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.713e-05/0.2925, allocations: 188.1 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-05/0.2926, allocations: 184.3 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.2927, allocations: 303.8 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2928, allocations: 194 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.2929, allocations: 184.1 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.293, allocations: 101 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.293, allocations: 184.2 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.2931, allocations: 105 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.2931, allocations: 87.27 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2931, allocations: 0 / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002418/0.2934, allocations: 8 kB / 1.096 GB, free: 8.531 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: 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.0005141/0.2939, allocations: 0.8389 MB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.294, allocations: 4 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.294, allocations: 0 / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.294, allocations: 0 / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2944, allocations: 451.7 kB / 1.097 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.2954, allocations: 1.295 MB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2956, allocations: 0.6768 MB / 1.099 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.2956, allocations: 0 / 1.099 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.2957, allocations: 11.44 kB / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.2957, allocations: 0 / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.314, allocations: 1.304 MB / 1.101 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.422, allocations: 11.22 kB / 1.101 GB, free: 4 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches