Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001164/0.001164, 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.001224/0.001224, 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.351/2.351, allocations: 443.5 MB / 0.7304 GB, free: 14.07 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 1.059 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2678, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002506/0.2703, allocations: 1.283 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2715, allocations: 0.7863 MB / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.2715, allocations: 0 / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2715, allocations: 0 / 1.218 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.2717, allocations: 19.91 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2719, allocations: 51.61 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.272, allocations: 23.88 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.272, allocations: 7.984 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.2721, allocations: 15.98 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2722, allocations: 7.984 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2722, allocations: 0 / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.793e-05/0.2723, allocations: 12 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.2723, allocations: 7.922 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.2723, allocations: 7.984 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.273e-05/0.2724, allocations: 28.12 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2724, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2724, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2725, allocations: 0 / 1.218 GB, free: 13.7 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.0003725/0.2728, allocations: 331.5 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2729, allocations: 8.031 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.2729, allocations: 110 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.273, allocations: 80.22 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2732, allocations: 243.6 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.2732, allocations: 150.9 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-05/0.2733, allocations: 162.9 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.378e-05/0.2734, allocations: 105.5 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.2734, allocations: 79.22 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2735, allocations: 150.6 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/0.2735, allocations: 150.6 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.2736, allocations: 154.5 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.2739, allocations: 453.9 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.274, allocations: 173.8 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.274, allocations: 80.14 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.2741, allocations: 79.28 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.2741, allocations: 113.8 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2741, allocations: 0 / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.932e-05/0.2742, allocations: 37.52 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.2743, allocations: 130.7 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2744, allocations: 105.8 kB / 1.221 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2744, allocations: 25.7 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2744, allocations: 80.14 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2745, allocations: 0 / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.2745, allocations: 25.7 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2746, allocations: 314.8 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.2746, allocations: 0 / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.2747, allocations: 11.98 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.38e-05/0.2747, allocations: 20.8 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2747, allocations: 0 / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.2748, allocations: 41.64 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2748, allocations: 16.06 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2748, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2748, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.2748, allocations: 256 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.2748, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.2749, allocations: 8 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2749, allocations: 0 / 1.221 GB, free: 10.08 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001185/0.275, allocations: 193.1 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.2751, allocations: 112.9 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.2752, allocations: 108.5 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-05/0.2753, allocations: 176.3 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-05/0.2753, allocations: 188.3 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/0.2754, allocations: 180.3 kB / 1.222 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.2757, allocations: 413.2 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-05/0.2757, allocations: 105 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.2758, allocations: 101 kB / 1.223 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.725e-05/0.2758, allocations: 188.1 kB / 1.223 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.2759, allocations: 176.3 kB / 1.223 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.708e-05/0.276, allocations: 184.2 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-05/0.2761, allocations: 184.2 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.2762, allocations: 299.8 kB / 1.224 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.2763, allocations: 190 kB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.2764, allocations: 188.1 kB / 1.224 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.2765, allocations: 104.9 kB / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.2766, allocations: 184.2 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.2766, allocations: 105 kB / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.2767, allocations: 87.27 kB / 1.224 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2767, allocations: 0 / 1.224 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002063/0.2769, allocations: 4 kB / 1.224 GB, free: 6.453 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.0005621/0.2774, allocations: 0.8242 MB / 1.225 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.133e-05/0.2775, allocations: 7.984 kB / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2775, allocations: 0 / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.2775, allocations: 8 kB / 1.225 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2779, allocations: 455.8 kB / 1.226 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2789, allocations: 1.298 MB / 1.227 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2792, allocations: 0.6729 MB / 1.228 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.834e-05/0.2793, allocations: 4 kB / 1.228 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.2793, allocations: 11.44 kB / 1.228 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.2793, allocations: 0 / 1.228 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.3042, allocations: 1.246 MB / 1.229 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.241, allocations: 15.22 kB / 1.229 GB, free: 1.879 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.506186817001435]