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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.91 kB / 1.059 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2597, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002388/0.2621, allocations: 1.258 MB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2633, allocations: 0.7707 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.2633, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.2633, allocations: 3.984 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.2636, allocations: 8.953 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.065e-05/0.2636, allocations: 12 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.2637, allocations: 15.91 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.2638, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.2638, allocations: 7.938 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2639, allocations: 8 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2639, allocations: 0 / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.855e-05/0.264, allocations: 11.97 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.264, allocations: 4 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.264, allocations: 0 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.537e-05/0.2641, allocations: 24.14 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2641, allocations: 0 / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2642, allocations: 0 / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2642, allocations: 0 / 1.218 GB, free: 13.77 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.0003678/0.2645, allocations: 331.5 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2646, allocations: 8.031 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.2646, allocations: 110 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.2647, allocations: 76.22 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.2649, allocations: 247.7 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.265, allocations: 150.9 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.265, allocations: 150.9 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.835e-05/0.2651, allocations: 109.5 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.2651, allocations: 79.22 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.2652, allocations: 154.6 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.2652, allocations: 150.6 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.053e-05/0.2653, allocations: 154.5 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.2656, allocations: 446 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.2657, allocations: 177.1 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.2657, allocations: 80.14 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.2658, allocations: 83.25 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.2658, allocations: 113.8 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2658, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.45e-05/0.2659, allocations: 33.64 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.266, allocations: 126.7 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.2661, allocations: 101.8 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2661, allocations: 25.7 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2661, allocations: 84.14 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.2661, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.2662, allocations: 13.72 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2663, allocations: 310.8 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.2663, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.2663, allocations: 4 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.2663, allocations: 83.22 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/0.2664, allocations: 75.28 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.979e-05/0.2664, allocations: 37.59 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.2665, allocations: 87.2 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.2665, allocations: 79.31 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.531e-05/0.2666, allocations: 154.5 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.2666, allocations: 83.39 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.555e-05/0.2667, allocations: 150.6 kB / 1.222 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.2668, allocations: 79.22 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.2668, allocations: 83.28 kB / 1.222 GB, free: 9.375 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.0001295/0.267, allocations: 268.4 kB / 1.222 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.267, allocations: 108.9 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.2671, allocations: 112.1 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-05/0.2671, allocations: 176.3 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.611e-05/0.2672, allocations: 180.2 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.689e-05/0.2673, allocations: 192.2 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.2675, allocations: 397.2 kB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/0.2676, allocations: 101 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.2676, allocations: 112.9 kB / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.2677, allocations: 184.2 kB / 1.223 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.2678, allocations: 176.3 kB / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.527e-05/0.2678, allocations: 184.2 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.216e-05/0.2679, allocations: 180.3 kB / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.2681, allocations: 303.8 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.2681, allocations: 182.1 kB / 1.224 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.2682, allocations: 192.1 kB / 1.225 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.2683, allocations: 101 kB / 1.225 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.2684, allocations: 192.1 kB / 1.225 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.2684, allocations: 105 kB / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.2685, allocations: 83.27 kB / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2685, allocations: 0 / 1.225 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002423/0.2687, allocations: 4 kB / 1.225 GB, free: 5.691 MB / 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.0005577/0.2693, allocations: 0.8204 MB / 1.226 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.695e-05/0.2693, allocations: 0 / 1.226 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2693, allocations: 4 kB / 1.226 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.2693, allocations: 3.938 kB / 1.226 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.2697, allocations: 465.5 kB / 1.226 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2709, allocations: 1.556 MB / 1.228 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2712, allocations: 0.6768 MB / 1.228 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.702e-05/0.2712, allocations: 4.031 kB / 1.228 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.2712, allocations: 11.44 kB / 1.228 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.2712, allocations: 0 / 1.228 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.2947, allocations: 1.151 MB / 1.23 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/7.216, allocations: 14.98 kB / 1.23 GB, free: 0.9805 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.40694505799911]