Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.001082/0.001082, 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.001104/0.001104, allocations: 195.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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.368/2.368, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.75 kB / 0.8992 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.221, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002009/0.223, allocations: 1.237 MB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000844/0.2239, allocations: 0.727 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.2239, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.224, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.2242, allocations: 15.92 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.114e-05/0.2242, allocations: 11.98 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.608e-05/0.2243, allocations: 11.94 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.2243, allocations: 4 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.2243, allocations: 3.984 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2245, allocations: 6.875 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2245, allocations: 3.938 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.2245, allocations: 15.97 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.2246, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.2246, allocations: 11.94 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.48e-05/0.2247, allocations: 7.984 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2247, allocations: 0 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2247, allocations: 0 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2247, allocations: 4 kB / 1.055 GB, free: 6.195 MB / 0.8106 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.0002678/0.225, allocations: 327.8 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.225, allocations: 8.031 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.2251, allocations: 110 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.2251, allocations: 76.22 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2252, allocations: 243.7 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.2253, allocations: 150.9 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.2253, allocations: 154.9 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.666e-05/0.2254, allocations: 109.5 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.2254, allocations: 83.16 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.2255, allocations: 150.6 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.2255, allocations: 154.6 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.2255, allocations: 158.5 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.2258, allocations: 442 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.882e-05/0.2258, allocations: 169.1 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.2259, allocations: 84.12 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2259, allocations: 79.28 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2259, allocations: 113.8 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.2259, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.493e-05/0.226, allocations: 41.53 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.226, allocations: 126.7 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.2261, allocations: 101.8 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2261, allocations: 25.7 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.2262, allocations: 88.14 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-06/0.2262, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.2262, allocations: 13.77 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.2263, allocations: 314.8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-06/0.2263, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.2263, allocations: 4 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.2263, allocations: 75.28 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.2264, allocations: 75.28 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.34e-05/0.2264, allocations: 37.66 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2265, allocations: 87.22 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.2265, allocations: 75.28 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.496e-05/0.2265, allocations: 158.5 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.033e-05/0.2266, allocations: 79.72 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.365e-05/0.2266, allocations: 150.6 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2267, allocations: 83.22 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2267, allocations: 83.28 kB / 1.059 GB, free: 1.801 MB / 0.8106 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 (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 prepare postOptimizeDAE: time 8.336e-05/0.2268, allocations: 260.4 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2269, allocations: 113 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.2269, allocations: 104.1 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-05/0.227, allocations: 184.3 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.515e-05/0.227, allocations: 188.2 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-05/0.2271, allocations: 180.3 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2272, allocations: 401.1 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.2273, allocations: 109 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.2273, allocations: 108.9 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.109e-05/0.2274, allocations: 188.2 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.2274, allocations: 176.3 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.121e-05/0.2275, allocations: 180.2 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-05/0.2275, allocations: 180.3 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.704e-05/0.2276, allocations: 307.8 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.2277, allocations: 182.1 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.2277, allocations: 188.1 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.2278, allocations: 109 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.2279, allocations: 180.2 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.2279, allocations: 101 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.2279, allocations: 83.27 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2279, allocations: 4 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002354/0.2282, allocations: 4 kB / 1.062 GB, free: 14.12 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.0003996/0.2286, allocations: 0.8217 MB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.213e-05/0.2286, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2286, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.2286, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2289, allocations: 463.7 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.2298, allocations: 1.567 MB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.23, allocations: 0.6729 MB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.23, allocations: 7.938 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.23, allocations: 13.48 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.23, allocations: 0 / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.378/1.608, allocations: 1.168 MB / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.23, allocations: 14.83 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches