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.007673/0.007673, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001843/0.001843, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.43/2.43, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.11 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7217, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002057/0.7237, allocations: 1.264 MB / 1.167 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.7248, allocations: 0.7374 MB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.7248, allocations: 3.938 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.7248, allocations: 0 / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.7251, allocations: 15.92 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.7253, allocations: 53.42 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.7254, allocations: 27.97 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.7254, allocations: 4 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.7255, allocations: 11.94 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.7256, allocations: 18.14 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.7256, allocations: 0 / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.7257, allocations: 4 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.7257, allocations: 8 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.7258, allocations: 11.92 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.44e-05/0.7258, allocations: 11.98 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7259, allocations: 7.984 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7259, allocations: 4 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7259, allocations: 0 / 1.168 GB, free: 1.613 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.000297/0.7262, allocations: 331.1 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.7262, allocations: 8.922 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.7263, allocations: 106 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.7263, allocations: 80.22 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7265, allocations: 247.5 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.7265, allocations: 154.9 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.7266, allocations: 158.9 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.634e-05/0.7266, allocations: 101.5 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.7266, allocations: 79.22 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.7267, allocations: 158.5 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.7267, allocations: 154.5 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.7268, allocations: 158.5 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.727, allocations: 449.9 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.701e-05/0.7271, allocations: 165.1 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.7272, allocations: 84.14 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.7272, allocations: 83.22 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.7272, allocations: 109.8 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7272, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.192e-05/0.7273, allocations: 33.58 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.7274, allocations: 126.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.7275, allocations: 109.8 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.7275, allocations: 25.7 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.7276, allocations: 84.14 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.7276, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.7276, allocations: 21.7 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7277, allocations: 310.8 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.7277, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.7278, allocations: 11.98 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.7278, allocations: 16.86 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7278, allocations: 4.094 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/0.7279, allocations: 45.58 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.728, allocations: 11.94 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.728, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.728, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.728, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.728, allocations: 0 / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.511e-05/0.7281, allocations: 7.938 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.7281, allocations: 0 / 1.172 GB, free: 14 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.0001226/0.7282, allocations: 189.1 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.7283, allocations: 108.9 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.118e-05/0.7284, allocations: 120.5 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/0.7284, allocations: 176.3 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.01e-05/0.7285, allocations: 184.2 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-05/0.7286, allocations: 184.2 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.7288, allocations: 405.2 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.7288, allocations: 105 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.7289, allocations: 104.9 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.175e-05/0.7289, allocations: 184.1 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.729, allocations: 180.3 kB / 1.173 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-05/0.7291, allocations: 188.5 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.078e-05/0.7291, allocations: 180.5 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.7293, allocations: 303.8 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.7294, allocations: 194 kB / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.7294, allocations: 192.1 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.7295, allocations: 101 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.7296, allocations: 176.3 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.7296, allocations: 112.9 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.7296, allocations: 91.2 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7297, allocations: 0 / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002245/0.7299, allocations: 4 kB / 1.175 GB, free: 10.37 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.0004846/0.7304, allocations: 0.821 MB / 1.176 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.7305, allocations: 15.91 kB / 1.176 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7305, allocations: 64 / 1.176 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.7305, allocations: 4 kB / 1.176 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.7308, allocations: 456.8 kB / 1.176 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.7317, allocations: 1.287 MB / 1.177 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.7319, allocations: 0.6729 MB / 1.178 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.7319, allocations: 0 / 1.178 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.7319, allocations: 19.45 kB / 1.178 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7319, allocations: 0 / 1.178 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.7491, allocations: 1.278 MB / 1.179 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.853, allocations: 12.33 kB / 1.179 GB, free: 5.836 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