Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_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.004103/0.004103, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001225/0.001225, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2738, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002329/0.2761, allocations: 1.266 MB / 1.243 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2772, allocations: 0.7349 MB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.2772, allocations: 0 / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.2773, allocations: 0 / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2775, allocations: 15.94 kB / 1.243 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2777, allocations: 43.92 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.2777, allocations: 27.91 kB / 1.244 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.228e-05/0.2778, allocations: 4 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.2778, allocations: 11.98 kB / 1.244 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.278, allocations: 11.88 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.278, allocations: 0 / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.278, allocations: 7.984 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.2781, allocations: 7.984 kB / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.2781, allocations: 15.94 kB / 1.244 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.482e-05/0.2782, allocations: 19.97 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2782, allocations: 0 / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2782, allocations: 0 / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2782, allocations: 4 kB / 1.244 GB, free: 8.031 MB / 0.9981 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.000326/0.2786, allocations: 337.6 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2786, allocations: 8.031 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.2787, allocations: 110 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.2787, allocations: 76.22 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2789, allocations: 251.6 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.279, allocations: 150.9 kB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.279, allocations: 150.9 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.85e-05/0.2791, allocations: 113.5 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.2792, allocations: 79.22 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/0.2792, allocations: 158.6 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.2793, allocations: 150.6 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.2794, allocations: 150.6 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.2797, allocations: 449.9 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.2798, allocations: 173.1 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.2798, allocations: 80.14 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.2799, allocations: 75.28 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.2799, allocations: 109.8 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2799, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.336e-05/0.28, allocations: 37.62 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.2801, allocations: 130.6 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2802, allocations: 109.8 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2802, allocations: 25.7 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.2803, allocations: 88.12 kB / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.2803, allocations: 0 / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2803, allocations: 13.72 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2805, allocations: 318.8 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.2805, allocations: 4 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.2805, allocations: 12 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.2806, allocations: 12.84 kB / 1.247 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2806, allocations: 4 kB / 1.247 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.2807, allocations: 45.59 kB / 1.247 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2807, allocations: 11.94 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2807, allocations: 0 / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2807, allocations: 3.984 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-06/0.2807, allocations: 0 / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2807, allocations: 3.938 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.2809, allocations: 8.109 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2809, allocations: 4 kB / 1.247 GB, free: 4.402 MB / 0.9981 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.0001021/0.281, allocations: 181.7 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.2811, allocations: 108.9 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.2811, allocations: 112.7 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-05/0.2812, allocations: 180.3 kB / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.107e-05/0.2813, allocations: 192.3 kB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.573e-05/0.2814, allocations: 180.2 kB / 1.248 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.2817, allocations: 409.2 kB / 1.248 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/0.2817, allocations: 104.9 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.2817, allocations: 101 kB / 1.248 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.54e-05/0.2818, allocations: 180.2 kB / 1.249 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.2819, allocations: 196.2 kB / 1.249 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.151e-05/0.282, allocations: 176.3 kB / 1.249 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.14e-05/0.2821, allocations: 180.2 kB / 1.249 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2822, allocations: 307.8 kB / 1.249 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.2823, allocations: 186 kB / 1.25 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.2824, allocations: 188.2 kB / 1.25 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.2825, allocations: 104.9 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.2826, allocations: 176.3 kB / 1.25 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.2827, allocations: 108.9 kB / 1.25 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.2827, allocations: 87.28 kB / 1.25 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2827, allocations: 4 kB / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002314/0.283, allocations: 7.938 kB / 1.25 GB, free: 0.7773 MB / 0.9981 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.4546/0.7375, allocations: 0.8131 MB / 1.251 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.7376, allocations: 6.562 kB / 1.251 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7377, allocations: 0.6562 kB / 1.251 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.7377, allocations: 2.719 kB / 1.251 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.7379, allocations: 459.3 kB / 1.251 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.7387, allocations: 1.287 MB / 1.253 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.7388, allocations: 0.6754 MB / 1.253 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.7388, allocations: 2.5 kB / 1.253 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.7388, allocations: 9.5 kB / 1.253 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.7388, allocations: 1.406 kB / 1.253 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.7617, allocations: 1.319 MB / 1.255 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/9.084, allocations: 8.688 kB / 1.255 GB, free: 13.25 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches