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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, 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.000932/0.000932, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.168/1.168, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.262/2.262, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5007, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001994/0.5027, allocations: 1.254 MB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.5036, allocations: 0.7387 MB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.5036, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.5037, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.5038, allocations: 7.938 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.504, allocations: 58.98 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.504, allocations: 23.91 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.529e-05/0.5041, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.5041, allocations: 8 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.5042, allocations: 21.28 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.5042, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.072e-05/0.5042, allocations: 8 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.5043, allocations: 4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.5043, allocations: 7.922 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.626e-05/0.5044, allocations: 23.97 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.5044, allocations: 0 / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5044, allocations: 0 / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.5044, allocations: 0 / 1.02 GB, free: 324 kB / 0.7637 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.0002409/0.5046, allocations: 325.7 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.478e-05/0.5047, allocations: 12.03 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.5047, allocations: 114 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.5048, allocations: 76.22 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.5049, allocations: 255.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.5049, allocations: 154.9 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.505, allocations: 150.9 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.991e-05/0.505, allocations: 105.5 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.505, allocations: 87.2 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.5051, allocations: 150.6 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.5051, allocations: 154.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.5052, allocations: 154.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.5054, allocations: 453.9 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.5055, allocations: 173.1 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.5055, allocations: 80.14 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5055, allocations: 75.28 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.5055, allocations: 109.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.5056, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.106e-05/0.5056, allocations: 37.64 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5057, allocations: 126.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.5057, allocations: 105.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.5058, allocations: 25.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.5058, allocations: 84.14 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.5058, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.5058, allocations: 21.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.5059, allocations: 310.8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.5059, allocations: 8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.506, allocations: 11.98 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.506, allocations: 16.8 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.506, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.554e-05/0.5061, allocations: 41.69 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.5061, allocations: 7.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5061, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.5061, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.5061, allocations: 4.125 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5061, allocations: 4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.5062, allocations: 3.906 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.5062, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 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 7.929e-05/0.5063, allocations: 193.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.5064, allocations: 108.9 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.5064, allocations: 112.5 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-05/0.5065, allocations: 180.3 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.103e-05/0.5065, allocations: 188.2 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/0.5066, allocations: 176.3 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.5068, allocations: 405.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/0.5068, allocations: 105 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.5068, allocations: 105 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.807e-05/0.5069, allocations: 192.1 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.5069, allocations: 176.5 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.414e-05/0.507, allocations: 188.1 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.996e-05/0.507, allocations: 184.2 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.5071, allocations: 308 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.5072, allocations: 186.1 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.5073, allocations: 188.1 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.5073, allocations: 105 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5074, allocations: 180.2 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.5074, allocations: 101 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.5075, allocations: 91.27 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5075, allocations: 0 / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002018/0.5077, allocations: 4 kB / 1.026 GB, free: 9.078 MB / 0.7794 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.0003916/0.5081, allocations: 0.83 MB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.849e-05/0.5081, allocations: 11.98 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.5081, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5081, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.5084, allocations: 456.2 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.5092, allocations: 1.299 MB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.5094, allocations: 0.6729 MB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.5094, allocations: 0 / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.5094, allocations: 11.42 kB / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.5094, allocations: 0 / 1.029 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.5475, allocations: 1.261 MB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.271, allocations: 13.25 kB / 1.031 GB, free: 4.535 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/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) Reference file matches