Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_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.0008282/0.0008283, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.004509/0.004509, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.164/1.164, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.24/2.24, allocations: 443.4 MB / 0.7176 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 9.156 kB / 0.8797 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2085, allocations: 155.2 MB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001049/0.2096, allocations: 0.9867 MB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.2105, allocations: 0.7233 MB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.2105, allocations: 0 / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.2105, allocations: 4 kB / 1.033 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2107, allocations: 3.938 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2108, allocations: 59.3 kB / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.2109, allocations: 23.92 kB / 1.033 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.163e-05/0.2109, allocations: 3.938 kB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.211, allocations: 19.97 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2111, allocations: 11.94 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2111, allocations: 0 / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.627e-05/0.2112, allocations: 11.97 kB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.2112, allocations: 8 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.2113, allocations: 33.64 kB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.237e-05/0.2113, allocations: 24.19 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2113, allocations: 4 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2113, allocations: 0 / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.2113, allocations: 0 / 1.033 GB, free: 2.234 MB / 0.7794 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.0002517/0.2116, allocations: 327.5 kB / 1.033 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2116, allocations: 8.031 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.2117, allocations: 106 kB / 1.034 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.2117, allocations: 80.22 kB / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2118, allocations: 247.6 kB / 1.034 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.2119, allocations: 150.9 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2119, allocations: 154.9 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.41e-05/0.212, allocations: 105.5 kB / 1.034 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.212, allocations: 83.16 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.2121, allocations: 150.6 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.2121, allocations: 158.6 kB / 1.035 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.2121, allocations: 150.6 kB / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.2124, allocations: 449.9 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.2124, allocations: 169.1 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.2125, allocations: 88.08 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2125, allocations: 79.27 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2125, allocations: 105.8 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2125, allocations: 0 / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 5.79e-05/0.2126, allocations: 33.62 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2127, allocations: 134.7 kB / 1.036 GB, free: 15.31 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.2127, allocations: 113.8 kB / 1.036 GB, free: 15.19 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.2128, allocations: 25.7 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.2128, allocations: 84.12 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2128, allocations: 0 / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.2128, allocations: 9.719 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.2129, allocations: 314.8 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.2129, allocations: 3.938 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.213, allocations: 15.98 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.213, allocations: 16.95 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.213, allocations: 0 / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.515e-05/0.2131, allocations: 41.69 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2131, allocations: 11.88 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2131, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2131, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.2131, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.2131, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.2132, allocations: 7.938 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.2132, allocations: 4 kB / 1.036 GB, free: 14.63 MB / 0.795 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 7.928e-05/0.2133, allocations: 201 kB / 1.037 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.2134, allocations: 108.8 kB / 1.037 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.2134, allocations: 104.5 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/0.2135, allocations: 184.2 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-05/0.2135, allocations: 176.3 kB / 1.037 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-05/0.2136, allocations: 200.2 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.2137, allocations: 397.3 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.2138, allocations: 109 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.2138, allocations: 108.9 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.653e-05/0.2139, allocations: 184.2 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2139, allocations: 184.2 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.714e-05/0.214, allocations: 176.3 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.154e-05/0.214, allocations: 180.2 kB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.2141, allocations: 303.8 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.2142, allocations: 186 kB / 1.039 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.2143, allocations: 188.2 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.2143, allocations: 101 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2144, allocations: 188.2 kB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2144, allocations: 101 kB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.2144, allocations: 83.52 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2145, allocations: 0 / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001992/0.2147, allocations: 4 kB / 1.04 GB, free: 11.01 MB / 0.795 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.0003934/0.2151, allocations: 0.8245 MB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.681e-05/0.2151, allocations: 7.984 kB / 1.041 GB, free: 10.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2151, allocations: 4.062 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2151, allocations: 0 / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2154, allocations: 0.5263 MB / 1.041 GB, free: 9.613 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.2162, allocations: 1.294 MB / 1.042 GB, free: 8.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2164, allocations: 0.6849 MB / 1.043 GB, free: 7.527 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.2164, allocations: 4 kB / 1.043 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.2164, allocations: 7.438 kB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2164, allocations: 0 / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.2274, allocations: 1.095 MB / 1.044 GB, free: 6.602 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.2276, allocations: 245.2 kB / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.71, allocations: 0 / 1.044 GB, free: 6.344 MB / 0.795 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches