Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.00102/0.00102, 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.001043/0.001043, 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.376/2.376, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4999, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002492/0.5024, allocations: 1.458 MB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003937/0.5029, allocations: 183.4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.5029, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.503, allocations: 3.938 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.5032, allocations: 35.59 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.5034, allocations: 43.92 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.5035, allocations: 63.78 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.5036, allocations: 8 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.5036, allocations: 27.97 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.5037, allocations: 15.92 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.5037, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.5037, allocations: 4 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.5038, allocations: 19.86 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.5038, allocations: 31.91 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.5039, allocations: 42.12 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5039, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5039, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5039, allocations: 0 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004496/0.5044, allocations: 355.4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5044, allocations: 8.031 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.5045, allocations: 34.75 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.5045, allocations: 8.844 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.5046, allocations: 172.4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5046, allocations: 384 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.5047, allocations: 384 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.5048, allocations: 76.75 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5048, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5048, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.5048, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.5049, allocations: 23.98 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.5052, allocations: 288.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.5053, allocations: 38.52 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.5053, allocations: 20.94 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.5054, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.5055, allocations: 71.38 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.5055, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001832/0.5057, allocations: 73.61 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.5058, allocations: 102.8 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.5058, allocations: 101.9 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.5059, allocations: 29.64 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.5059, allocations: 96.03 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.5059, allocations: 3.906 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.506, allocations: 29.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.5061, allocations: 318.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.5061, allocations: 8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.5061, allocations: 34.56 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.5062, allocations: 24.86 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5062, allocations: 384 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.596e-05/0.5063, allocations: 65.62 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.5063, allocations: 8.031 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5063, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5063, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.5064, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.5064, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.5065, allocations: 15.89 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.5065, allocations: 0 / 1.021 GB, free: 14.32 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.31e-05/0.5066, allocations: 113.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.5066, allocations: 8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.5067, allocations: 7.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5067, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5067, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5067, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.5068, allocations: 173.6 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5068, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.5068, allocations: 3.938 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.5068, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5069, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5069, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5069, allocations: 3.984 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.507, allocations: 89.06 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.507, allocations: 92.94 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.5071, allocations: 7.938 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5072, allocations: 14.09 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.5072, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5072, allocations: 11.92 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.5073, allocations: 87.28 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5073, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001884/0.5075, allocations: 8 kB / 1.022 GB, free: 13.61 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003341/0.5078, allocations: 0.6339 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.5079, allocations: 28.52 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5079, allocations: 8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.508, allocations: 19.92 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.5081, allocations: 4.562 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.509, allocations: 1.169 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.5092, allocations: 0.6807 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.5093, allocations: 4 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.5093, allocations: 15.44 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5093, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.5241, allocations: 1.733 MB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.433/6.957, allocations: 23.11 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches