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.00157/0.001577, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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: 193.1 kB / 16.25 MB, free: 6.621 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.43 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.617/2.617, allocations: 469.8 MB / 0.7421 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 66.47 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2604, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002293/0.2627, allocations: 1.306 MB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000952/0.2637, allocations: 0.7013 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.2637, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2637, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2639, allocations: 19.91 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.052e-05/0.264, allocations: 10 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.264, allocations: 4 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.2641, allocations: 3.984 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.2641, allocations: 7.984 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2642, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.2642, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.2643, allocations: 15.92 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.2643, allocations: 4 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.2644, allocations: 7.922 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.097e-05/0.2644, allocations: 8 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2644, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2644, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2644, allocations: 0 / 1.066 GB, free: 12.38 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.0003431/0.2648, allocations: 329 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2648, allocations: 11.97 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.729e-05/0.2649, allocations: 110 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.265, allocations: 76.22 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.2651, allocations: 251.5 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.2652, allocations: 150.9 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.2653, allocations: 150.9 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.2654, allocations: 113.5 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.2654, allocations: 87.16 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.2655, allocations: 150.6 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/0.2655, allocations: 154.5 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/0.2656, allocations: 150.6 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.2659, allocations: 453.9 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.266, allocations: 169.1 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.266, allocations: 80.14 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.2661, allocations: 75.28 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.2661, allocations: 105.8 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2661, allocations: 0 / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.13e-05/0.2662, allocations: 41.62 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.2662, allocations: 130.6 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.2663, allocations: 97.86 kB / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2664, allocations: 25.7 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.2664, allocations: 84.14 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.2664, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.2665, allocations: 13.72 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2666, allocations: 318.8 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.2666, allocations: 4 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.2666, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.2667, allocations: 75.28 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.932e-05/0.2667, allocations: 75.28 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.705e-05/0.2667, allocations: 29.7 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.2668, allocations: 83.22 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.2668, allocations: 79.27 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.999e-05/0.2669, allocations: 162.6 kB / 1.069 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.475e-05/0.2669, allocations: 83.2 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.098e-05/0.267, allocations: 154.7 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2671, allocations: 79.3 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.2672, allocations: 83.22 kB / 1.07 GB, free: 7.977 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.0001199/0.2673, allocations: 260.4 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.2674, allocations: 108.9 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.2674, allocations: 116 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.731e-05/0.2675, allocations: 176.3 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.962e-05/0.2676, allocations: 176.3 kB / 1.07 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/0.2677, allocations: 188.1 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.2679, allocations: 409.2 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-05/0.2679, allocations: 104.9 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.268, allocations: 105 kB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.839e-05/0.2681, allocations: 184.2 kB / 1.071 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.2681, allocations: 184.2 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.187e-05/0.2682, allocations: 180.3 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-05/0.2683, allocations: 188.2 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.2684, allocations: 307.8 kB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.2685, allocations: 178.1 kB / 1.072 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.2686, allocations: 184.2 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.2687, allocations: 112.9 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.2688, allocations: 180.2 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.2688, allocations: 104.9 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.2689, allocations: 79.28 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2689, allocations: 0 / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002451/0.2692, allocations: 4 kB / 1.073 GB, free: 4.301 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.0005348/0.2697, allocations: 0.8229 MB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.255e-05/0.2697, allocations: 0 / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2697, allocations: 0 / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.2698, allocations: 3.938 kB / 1.074 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.2701, allocations: 463.7 kB / 1.074 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2713, allocations: 1.564 MB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2716, allocations: 0.6768 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.086e-05/0.2716, allocations: 0 / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.2716, allocations: 11.44 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2716, allocations: 4.031 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1902/0.4618, allocations: 1.102 MB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/0.4622, allocations: 254.8 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.326, allocations: 0 / 1.078 GB, free: 15.48 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