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.00812/0.00812, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001895/0.001895, allocations: 196.7 kB / 16.68 MB, free: 5.965 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.494/2.494, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 64.31 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8285, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002589/0.8311, allocations: 1.223 MB / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.8324, allocations: 0.7309 MB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.8324, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.8325, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.8328, allocations: 15.94 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.793e-05/0.8329, allocations: 19.3 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.8329, allocations: 7.984 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.833, allocations: 4 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.833, allocations: 0 / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.8332, allocations: 4 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.8332, allocations: 3.938 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.281e-05/0.8332, allocations: 11.97 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.8333, allocations: 4 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.8333, allocations: 3.938 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.532e-05/0.8334, allocations: 23.97 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8335, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8335, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.8335, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 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.0003478/0.8338, allocations: 321.8 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.8339, allocations: 8.031 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.8339, allocations: 106 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.834, allocations: 80.2 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8342, allocations: 251.6 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.8342, allocations: 150.9 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.8343, allocations: 150.9 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.571e-05/0.8343, allocations: 109.5 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.8344, allocations: 79.22 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.8344, allocations: 154.6 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.8345, allocations: 154.6 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.8346, allocations: 150.6 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.8349, allocations: 442 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.8349, allocations: 173.1 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.835, allocations: 88.14 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.835, allocations: 79.27 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.8351, allocations: 109.8 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8351, allocations: 0 / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.073e-05/0.8352, allocations: 33.64 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.8352, allocations: 134.6 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.8354, allocations: 105.8 kB / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8354, allocations: 25.7 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.8354, allocations: 80.14 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.8355, allocations: 4 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.8355, allocations: 9.719 kB / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8356, allocations: 314.8 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.8356, allocations: 0 / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.759e-05/0.8356, allocations: 4 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.8357, allocations: 79.31 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.8357, allocations: 79.28 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.689e-05/0.8358, allocations: 29.7 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.8358, allocations: 87.2 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.8359, allocations: 79.22 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.904e-05/0.8359, allocations: 150.6 kB / 1.213 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.836, allocations: 83.22 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.675e-05/0.836, allocations: 158.6 kB / 1.213 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.8362, allocations: 75.28 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.8362, allocations: 83.22 kB / 1.213 GB, free: 7.094 MB / 0.9356 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 0.0001049/0.8363, allocations: 265.3 kB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.8364, allocations: 104.9 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.8364, allocations: 116 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.935e-05/0.8365, allocations: 176.3 kB / 1.214 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.941e-05/0.8365, allocations: 176.5 kB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/0.8366, allocations: 188.2 kB / 1.214 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.8368, allocations: 401.3 kB / 1.215 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/0.8368, allocations: 104.9 kB / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.8369, allocations: 113 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-05/0.8369, allocations: 184.2 kB / 1.215 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.837, allocations: 180.2 kB / 1.215 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/0.837, allocations: 176.3 kB / 1.215 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.337e-05/0.8371, allocations: 184.2 kB / 1.216 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.8372, allocations: 311.8 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.8373, allocations: 182.3 kB / 1.216 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.8374, allocations: 184.2 kB / 1.216 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.8375, allocations: 104.9 kB / 1.216 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.8375, allocations: 188.2 kB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.8376, allocations: 112.9 kB / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.8376, allocations: 83.27 kB / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8376, allocations: 0 / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002413/0.8379, allocations: 0 / 1.217 GB, free: 3.41 MB / 0.9356 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.0005168/0.8384, allocations: 0.8224 MB / 1.217 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.977e-05/0.8384, allocations: 0 / 1.217 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8385, allocations: 3.938 kB / 1.217 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.8385, allocations: 3.938 kB / 1.217 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.8388, allocations: 459.7 kB / 1.218 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.84, allocations: 1.575 MB / 1.219 GB, free: 452 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.8402, allocations: 0.6729 MB / 1.22 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.8403, allocations: 4 kB / 1.22 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.8403, allocations: 7.438 kB / 1.22 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.8403, allocations: 0 / 1.22 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.858, allocations: 1.194 MB / 1.221 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/8.073, allocations: 15.42 kB / 1.221 GB, free: 14.72 MB / 0.9512 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