Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_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.005754/0.005754, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001252/0.001252, allocations: 197 kB / 16.68 MB, free: 5.93 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.84 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2686, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001933/0.2705, allocations: 1.237 MB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.2715, allocations: 0.7236 MB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.2715, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.2715, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2717, allocations: 11.92 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.235e-05/0.2718, allocations: 11.86 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.2719, allocations: 11.98 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.2719, allocations: 4 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.2719, allocations: 7.938 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.2721, allocations: 7.984 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2721, allocations: 4 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.2721, allocations: 4 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.2722, allocations: 3.984 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.2722, allocations: 7.938 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.867e-05/0.2723, allocations: 15.92 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2723, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2723, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.2723, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 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.0002974/0.2726, allocations: 326.4 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2727, allocations: 8.031 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.2727, allocations: 106 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.2728, allocations: 84.2 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2729, allocations: 243.6 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.273, allocations: 150.9 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.273, allocations: 154.9 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.973e-05/0.2731, allocations: 105.5 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.2731, allocations: 83.16 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.2731, allocations: 150.6 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.2732, allocations: 150.6 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.2732, allocations: 154.5 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.2735, allocations: 454 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.418e-05/0.2735, allocations: 165.1 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.2736, allocations: 84.08 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2736, allocations: 75.28 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.2736, allocations: 117.8 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 2.705e-06/0.2736, allocations: 3.984 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.235e-05/0.2737, allocations: 33.62 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.2738, allocations: 126.7 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.2738, allocations: 93.86 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2739, allocations: 29.7 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.2739, allocations: 84.14 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.2739, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.2739, allocations: 17.7 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.274, allocations: 314.8 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-06/0.274, allocations: 3.938 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.274, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.2741, allocations: 79.22 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.2741, allocations: 79.22 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.907e-05/0.2741, allocations: 29.7 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.2742, allocations: 83.22 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.2742, allocations: 91.36 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.707e-05/0.2743, allocations: 158.5 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.2743, allocations: 75.28 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.974e-05/0.2743, allocations: 154.5 kB / 1.172 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2744, allocations: 79.28 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2745, allocations: 75.28 kB / 1.172 GB, free: 0.8555 MB / 0.92 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 9.079e-05/0.2746, allocations: 268.3 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.2746, allocations: 113.1 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.2747, allocations: 104.1 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/0.2747, allocations: 184.2 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-05/0.2748, allocations: 180.3 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/0.2748, allocations: 184.2 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.275, allocations: 401.2 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.729e-05/0.275, allocations: 105 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.2751, allocations: 104.9 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.621e-05/0.2751, allocations: 184.2 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.2752, allocations: 184.2 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.69e-05/0.2752, allocations: 184.3 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.433e-05/0.2753, allocations: 180.3 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2754, allocations: 303.8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.2755, allocations: 186 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.2755, allocations: 184.2 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.2756, allocations: 109 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.2756, allocations: 180.2 kB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.2757, allocations: 105 kB / 1.175 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.2757, allocations: 83.28 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.2757, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002502/0.276, allocations: 8 kB / 1.176 GB, free: 13.17 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.000473/0.2765, allocations: 0.8204 MB / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.276e-05/0.2765, allocations: 0 / 1.176 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2765, allocations: 8 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.2765, allocations: 3.938 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.2768, allocations: 458.5 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.2778, allocations: 1.567 MB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.278, allocations: 0.6768 MB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.2781, allocations: 4.094 kB / 1.179 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.2781, allocations: 11.44 kB / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2781, allocations: 0 / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.2942, allocations: 1.195 MB / 1.18 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.403, allocations: 15.53 kB / 1.18 GB, free: 8.477 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches