Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_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.001228/0.001228, 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.001167/0.001167, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.281/1.281, 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.1.0-maint.11.x/package.mo): time 2.554/2.554, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.11 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.244, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002222/0.2462, allocations: 1.237 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009531/0.2472, allocations: 0.7287 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.2472, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.2472, allocations: 0 / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2474, allocations: 23.91 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.294e-05/0.2475, allocations: 8 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.2476, allocations: 7.984 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.947e-05/0.2476, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.2476, allocations: 7.984 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2478, allocations: 6.641 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2478, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.2478, allocations: 15.92 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.2479, allocations: 7.984 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.2479, allocations: 3.938 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.269e-05/0.248, allocations: 8 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.248, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.248, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.248, allocations: 0 / 1.066 GB, free: 12.19 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.0003389/0.2483, allocations: 327.8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.2484, allocations: 8.031 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.2484, allocations: 106 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.2485, allocations: 76.22 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.2487, allocations: 251.5 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.2487, allocations: 154.9 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.2488, allocations: 154.9 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.809e-05/0.2489, allocations: 105.5 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.2489, allocations: 79.22 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.249, allocations: 154.6 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.2491, allocations: 150.6 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.2491, allocations: 158.5 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.2494, allocations: 445.9 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.2495, allocations: 173.1 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.2496, allocations: 80.14 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2496, allocations: 79.28 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.2497, allocations: 105.8 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2497, allocations: 0 / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.73e-05/0.2497, allocations: 37.62 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2498, allocations: 134.6 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.2499, allocations: 97.84 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2499, allocations: 25.7 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.25, allocations: 84.14 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.62e-07/0.25, allocations: 7.938 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.25, allocations: 21.75 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2501, allocations: 310.8 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-06/0.2501, allocations: 0 / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.2502, allocations: 4 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.2502, allocations: 75.28 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-05/0.2502, allocations: 75.28 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.424e-05/0.2503, allocations: 33.73 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.2503, allocations: 83.22 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.2504, allocations: 79.22 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.467e-05/0.2504, allocations: 154.5 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.2505, allocations: 87.22 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.674e-05/0.2505, allocations: 150.6 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2506, allocations: 79.28 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.2507, allocations: 79.22 kB / 1.07 GB, free: 7.797 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 (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.0001162/0.2508, allocations: 260.4 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.2509, allocations: 109.1 kB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.2509, allocations: 116 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-05/0.251, allocations: 184.3 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/0.2511, allocations: 176.3 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/0.2512, allocations: 180.2 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2514, allocations: 405.2 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-05/0.2515, allocations: 104.9 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.2515, allocations: 101 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-05/0.2516, allocations: 200.1 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.2517, allocations: 184.2 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.769e-05/0.2517, allocations: 176.3 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.769e-05/0.2518, allocations: 184.2 kB / 1.072 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.252, allocations: 303.8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.2521, allocations: 190 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.2521, allocations: 180.2 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.2522, allocations: 108.9 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.2523, allocations: 180.3 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.2524, allocations: 101 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.2524, allocations: 91.22 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2524, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002458/0.2527, allocations: 0 / 1.074 GB, free: 4.117 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.000504/0.2532, allocations: 0.8212 MB / 1.074 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.119e-05/0.2532, allocations: 4 kB / 1.074 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2532, allocations: 3.938 kB / 1.074 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.2532, allocations: 3.938 kB / 1.074 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2536, allocations: 455.7 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2547, allocations: 1.571 MB / 1.076 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.255, allocations: 0.6729 MB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.126e-05/0.255, allocations: 4 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.255, allocations: 7.438 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.255, allocations: 0 / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3394/0.5944, allocations: 1.175 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.08, allocations: 9.469 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches