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 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.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.001207/0.001207, allocations: 108 kB / 15.6 MB, free: 132 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.001211/0.001211, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.411/2.411, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.23 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2359, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002032/0.2379, allocations: 1.273 MB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.2388, allocations: 0.7327 MB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.2388, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.2388, allocations: 7.938 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.239, allocations: 11.98 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.2392, allocations: 47.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.833e-05/0.2392, allocations: 19.92 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.2393, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.2393, allocations: 7.984 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2394, allocations: 19.92 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2395, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.2395, allocations: 7.984 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.2396, allocations: 8 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.2396, allocations: 15.86 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.258e-05/0.2397, allocations: 23.97 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2397, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2397, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2397, allocations: 7.938 kB / 1.066 GB, free: 12.31 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002872/0.24, allocations: 327.7 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.24, allocations: 11.97 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.2401, allocations: 106 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.2401, allocations: 84.22 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2402, allocations: 239.7 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.2403, allocations: 154.9 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.2404, allocations: 150.9 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.421e-05/0.2404, allocations: 105.5 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.2404, allocations: 83.16 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.2405, allocations: 158.5 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.2405, allocations: 150.6 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.2406, allocations: 150.6 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.2408, allocations: 449.9 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.2409, allocations: 177.2 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.2409, allocations: 84.08 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.241, allocations: 79.28 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.241, allocations: 105.8 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.241, allocations: 0 / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.995e-05/0.2411, allocations: 29.64 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2411, allocations: 130.7 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.2412, allocations: 105.8 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.2413, allocations: 29.7 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.2413, allocations: 88.05 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.2413, allocations: 0 / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.2413, allocations: 21.69 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.2414, allocations: 310.8 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.2415, allocations: 11.94 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.2415, allocations: 15.98 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.2415, allocations: 12.86 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2415, allocations: 256 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.622e-05/0.2416, allocations: 37.69 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2416, allocations: 11.94 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2417, allocations: 4 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.2417, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.2417, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.2417, allocations: 4.125 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2418, allocations: 0 / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2418, allocations: 11.92 kB / 1.069 GB, free: 8.695 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: 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 8.47e-05/0.2419, allocations: 189.1 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.242, allocations: 108.9 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.242, allocations: 104.5 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-05/0.2421, allocations: 192.1 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.115e-05/0.2421, allocations: 180.3 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.2422, allocations: 180.2 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2424, allocations: 405.2 kB / 1.07 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/0.2424, allocations: 101 kB / 1.07 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.2425, allocations: 104.9 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-05/0.2425, allocations: 188.4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.2426, allocations: 188.2 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.215e-05/0.2426, allocations: 180.2 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.031e-05/0.2427, allocations: 176.3 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.2428, allocations: 311.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.2429, allocations: 189.9 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.2429, allocations: 184.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.243, allocations: 101 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.2431, allocations: 180.2 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.2431, allocations: 109 kB / 1.072 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.2432, allocations: 87.27 kB / 1.072 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2432, allocations: 0 / 1.072 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002133/0.2434, allocations: 4 kB / 1.072 GB, free: 5.082 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: 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.0004083/0.2438, allocations: 0.8286 MB / 1.073 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.548e-05/0.2439, allocations: 4 kB / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2439, allocations: 0 / 1.073 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-06/0.2439, allocations: 4 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2442, allocations: 455.7 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.245, allocations: 1.295 MB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2452, allocations: 0.6768 MB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.2453, allocations: 4 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.2453, allocations: 7.438 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of SimCode: time 1.423e-06/0.2453, allocations: 0 / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2623, allocations: 1.304 MB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.867, allocations: 7.031 kB / 1.077 GB, free: 0.5469 MB / 0.8262 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 50 --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