Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.004658/0.004657, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001112/0.001112, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.022/2.022, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 68.14 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7235, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001984/0.7255, allocations: 1.268 MB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000826/0.7263, allocations: 0.7332 MB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.7264, allocations: 0 / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.7264, allocations: 1.359 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.7266, allocations: 17.03 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.7268, allocations: 46.78 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.7269, allocations: 26.81 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.7269, allocations: 6 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.7269, allocations: 13.91 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.7271, allocations: 5.859 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.7271, allocations: 0.9375 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.7271, allocations: 14.56 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.7272, allocations: 7.219 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.7272, allocations: 9.328 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.356e-05/0.7273, allocations: 21.16 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7273, allocations: 1.219 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7273, allocations: 0 / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7273, allocations: 0.5625 kB / 1.09 GB, free: 3.773 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.0002216/0.7276, allocations: 334.8 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.7276, allocations: 14.39 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.116e-05/0.7276, allocations: 106 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.7277, allocations: 78.94 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.969e-05/0.7277, allocations: 238 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.7278, allocations: 152 kB / 1.09 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.7278, allocations: 156.8 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.407e-05/0.7278, allocations: 110.5 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7279, allocations: 79.22 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.7279, allocations: 151.1 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.7279, allocations: 151.7 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.7279, allocations: 150.6 kB / 1.091 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.7281, allocations: 459.9 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.7281, allocations: 170.2 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.7282, allocations: 80.14 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.7282, allocations: 76.41 kB / 1.092 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.7282, allocations: 114.5 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7282, allocations: 1.062 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.515e-05/0.7283, allocations: 35.34 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.7284, allocations: 128.3 kB / 1.092 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.7285, allocations: 109.4 kB / 1.092 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.7285, allocations: 25.7 kB / 1.092 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.7285, allocations: 85.88 kB / 1.092 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.7285, allocations: 4 kB / 1.092 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.7286, allocations: 20.2 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.7287, allocations: 317.3 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.7287, allocations: 3.844 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.7287, allocations: 8.734 kB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.7288, allocations: 14.14 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7288, allocations: 0 / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.496e-05/0.7289, allocations: 47.48 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.7289, allocations: 9.344 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7289, allocations: 0 / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.7289, allocations: 0 / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.7289, allocations: 5.969 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7289, allocations: 3.984 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.729, allocations: 6.828 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.729, allocations: 1.469 kB / 1.093 GB, free: 16.27 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.442e-05/0.7291, allocations: 184.4 kB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.7292, allocations: 111.5 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.7292, allocations: 115.1 kB / 1.093 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.965e-05/0.7293, allocations: 181.9 kB / 1.093 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-05/0.7294, allocations: 177.9 kB / 1.094 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/0.7294, allocations: 189.9 kB / 1.094 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.7296, allocations: 407.7 kB / 1.094 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.924e-05/0.7296, allocations: 107.1 kB / 1.094 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.7297, allocations: 102.5 kB / 1.094 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-05/0.7297, allocations: 182.2 kB / 1.095 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.7298, allocations: 182.2 kB / 1.095 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-05/0.7298, allocations: 177.1 kB / 1.095 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.802e-05/0.7299, allocations: 190 kB / 1.095 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.73, allocations: 305.5 kB / 1.095 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.7301, allocations: 185.4 kB / 1.096 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.7301, allocations: 186.8 kB / 1.096 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.7302, allocations: 114.9 kB / 1.096 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.7303, allocations: 180.9 kB / 1.096 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.7303, allocations: 102.9 kB / 1.096 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.7304, allocations: 87.39 kB / 1.096 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7304, allocations: 0 / 1.096 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002187/0.7306, allocations: 3.719 kB / 1.096 GB, free: 12.7 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.0004318/0.731, allocations: 0.8286 MB / 1.097 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.7311, allocations: 9.812 kB / 1.097 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7311, allocations: 0 / 1.097 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.7311, allocations: 4.906 kB / 1.097 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.7314, allocations: 459.1 kB / 1.097 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.7323, allocations: 1.286 MB / 1.099 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.7325, allocations: 0.6746 MB / 1.099 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.619e-05/0.7325, allocations: 1.406 kB / 1.099 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.7325, allocations: 9.641 kB / 1.099 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.7325, allocations: 32 / 1.099 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.749, allocations: 1.307 MB / 1.101 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.706, allocations: 4.312 kB / 1.101 GB, free: 9.09 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches