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.007415/0.007415, allocations: 103.5 kB / 15.73 MB, free: 6.445 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.001761/0.001761, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.756/2.756, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.84 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3393, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002501/0.3418, allocations: 1.245 MB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.343, allocations: 0.7153 MB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.3431, allocations: 4 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.3431, allocations: 0 / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.3434, allocations: 15.94 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.885e-05/0.3435, allocations: 14.47 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.3436, allocations: 4 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.3436, allocations: 4 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.3436, allocations: 3.938 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3438, allocations: 7.984 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3438, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.3439, allocations: 11.98 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.3439, allocations: 4 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.344, allocations: 7.938 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.263e-05/0.3441, allocations: 11.97 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3441, allocations: 7.938 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3441, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3441, allocations: 0 / 1.209 GB, free: 8.105 MB / 0.9669 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.0003475/0.3444, allocations: 331.7 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3445, allocations: 8.031 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.3446, allocations: 106 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.3446, allocations: 76.22 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3448, allocations: 239.7 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.3448, allocations: 158.9 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.3449, allocations: 150.9 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.744e-05/0.345, allocations: 109.5 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.345, allocations: 79.22 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.345, allocations: 154.6 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.3451, allocations: 162.5 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.574e-05/0.3452, allocations: 150.6 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.3454, allocations: 449.9 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.3455, allocations: 169.2 kB / 1.212 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.3456, allocations: 84.12 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.3456, allocations: 79.28 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3456, allocations: 105.8 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3457, allocations: 0 / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.513e-05/0.3457, allocations: 37.58 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.3458, allocations: 126.7 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.3459, allocations: 101.8 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3459, allocations: 29.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.346, allocations: 84.14 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.346, allocations: 0.5 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.346, allocations: 9.719 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3461, allocations: 314.8 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-06/0.3462, allocations: 4 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.3462, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.3462, allocations: 75.28 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.3462, allocations: 79.31 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.727e-05/0.3463, allocations: 37.62 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.3463, allocations: 84.78 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.3464, allocations: 75.28 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.682e-05/0.3464, allocations: 154.6 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-05/0.3465, allocations: 79.33 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.88e-05/0.3465, allocations: 158.6 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.3467, allocations: 87.22 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3467, allocations: 75.28 kB / 1.213 GB, free: 3.719 MB / 0.9669 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.0001051/0.3468, allocations: 260.4 kB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.3469, allocations: 112.9 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.3469, allocations: 108 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/0.347, allocations: 184.3 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-05/0.347, allocations: 184.2 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/0.3471, allocations: 184.2 kB / 1.214 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.3473, allocations: 401.2 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/0.3474, allocations: 108.9 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.3474, allocations: 108.9 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.737e-05/0.3475, allocations: 188.1 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.3475, allocations: 176.3 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.226e-05/0.3476, allocations: 180.2 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-05/0.3476, allocations: 180.3 kB / 1.216 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3478, allocations: 311.8 kB / 1.216 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.3479, allocations: 178.1 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.3479, allocations: 192.1 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.348, allocations: 105 kB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.3481, allocations: 176.3 kB / 1.217 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.3481, allocations: 104.9 kB / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.3482, allocations: 87.27 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3482, allocations: 0 / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002635/0.3485, allocations: 4 kB / 1.217 GB, free: 40 kB / 0.9669 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.0005928/0.3491, allocations: 0.8203 MB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.521e-05/0.3491, allocations: 3.938 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3491, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.3491, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3495, allocations: 467.7 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3507, allocations: 1.568 MB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.351, allocations: 0.6768 MB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.563e-05/0.3511, allocations: 0 / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3511, allocations: 7.438 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3511, allocations: 3.938 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3781, allocations: 1.205 MB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.824, allocations: 21.77 kB / 1.221 GB, free: 11.33 MB / 0.9825 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