Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_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.007218/0.007218, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001743/0.001743, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6928, allocations: 140.4 MB / 1.087 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00193/0.6947, allocations: 1.263 MB / 1.089 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.6956, allocations: 0.7374 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.6956, allocations: 1.188 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.6956, allocations: 3.938 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.6958, allocations: 17.03 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.696, allocations: 47.05 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.6961, allocations: 18.67 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.6961, allocations: 6.016 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.6962, allocations: 18.3 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.6963, allocations: 6.906 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.6963, allocations: 0 / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.159e-05/0.6964, allocations: 17.64 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.6964, allocations: 8.594 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.6964, allocations: 11.7 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.14e-05/0.6965, allocations: 22.98 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6965, allocations: 0 / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6965, allocations: 0 / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6965, allocations: 1.125 kB / 1.09 GB, free: 4.043 MB / 0.8575 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.0002255/0.6968, allocations: 327.2 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.6968, allocations: 8.969 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.278e-05/0.6968, allocations: 107.7 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.6969, allocations: 85.8 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.401e-05/0.697, allocations: 243 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.697, allocations: 150.9 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.697, allocations: 152.8 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.971e-05/0.6971, allocations: 106.9 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6971, allocations: 79.73 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.6971, allocations: 154.6 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.6972, allocations: 151.7 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.6972, allocations: 155.2 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.6973, allocations: 448.8 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.946e-05/0.6974, allocations: 175.6 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.6974, allocations: 80.14 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.6974, allocations: 75.94 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.6975, allocations: 106.9 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.6975, allocations: 0 / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.32e-05/0.6975, allocations: 32.47 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.6976, allocations: 132.3 kB / 1.092 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.6976, allocations: 113 kB / 1.092 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.6977, allocations: 26.73 kB / 1.092 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/0.6977, allocations: 85.62 kB / 1.092 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.6977, allocations: 0 / 1.092 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.6977, allocations: 24.98 kB / 1.092 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.6978, allocations: 312.6 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.6978, allocations: 8.141 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.6979, allocations: 12.11 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.6979, allocations: 13.53 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6979, allocations: 1.219 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.977e-05/0.698, allocations: 46.38 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.698, allocations: 9.109 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.698, allocations: 5.188 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.6981, allocations: 0 / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/0.6981, allocations: 4.594 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.6981, allocations: 5.25 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.6982, allocations: 5.578 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.6982, allocations: 2.359 kB / 1.093 GB, free: 16.54 MB / 0.8731 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 8.762e-05/0.6983, allocations: 185 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.6983, allocations: 106.7 kB / 1.093 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.6984, allocations: 111.7 kB / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.356e-05/0.6984, allocations: 185.9 kB / 1.093 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.6985, allocations: 182.1 kB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.073e-05/0.6986, allocations: 181.8 kB / 1.094 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.6988, allocations: 399.8 kB / 1.094 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/0.6988, allocations: 106.1 kB / 1.094 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.6988, allocations: 106.4 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.043e-05/0.6989, allocations: 185.4 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.6989, allocations: 182.2 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.266e-05/0.699, allocations: 179 kB / 1.095 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.557e-05/0.6991, allocations: 177.3 kB / 1.095 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.6992, allocations: 314 kB / 1.095 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.6993, allocations: 188.6 kB / 1.096 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.6993, allocations: 182.5 kB / 1.096 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.6994, allocations: 102.7 kB / 1.096 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.6995, allocations: 185.8 kB / 1.096 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.6995, allocations: 106.4 kB / 1.096 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.6996, allocations: 86.69 kB / 1.096 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6996, allocations: 0.7812 kB / 1.096 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002299/0.6998, allocations: 3.594 kB / 1.096 GB, free: 12.98 MB / 0.8731 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.0004957/0.7003, allocations: 0.8311 MB / 1.097 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.6e-05/0.7004, allocations: 10.36 kB / 1.097 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7004, allocations: 0 / 1.097 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.7004, allocations: 1.344 kB / 1.097 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.7007, allocations: 459.6 kB / 1.097 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.7017, allocations: 1.289 MB / 1.099 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.7019, allocations: 0.675 MB / 1.099 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.7019, allocations: 1.516 kB / 1.099 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.7019, allocations: 10.11 kB / 1.099 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7019, allocations: 0 / 1.099 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.7188, allocations: 1.276 MB / 1.101 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/7.629, allocations: 9.188 kB / 1.101 GB, free: 9.355 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches