Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ConvertTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_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.001239/0.001239, 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.001206/0.001206, allocations: 194.9 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.067/2.067, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4702, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001938/0.4721, allocations: 1.452 MB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000295/0.4724, allocations: 188.8 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.4725, allocations: 0 / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.4725, allocations: 0 / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.4727, allocations: 33.34 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.4728, allocations: 52.36 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.4729, allocations: 52.59 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.473, allocations: 11.47 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.473, allocations: 24.05 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.4731, allocations: 22.44 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4731, allocations: 4.031 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.4731, allocations: 5.344 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.4732, allocations: 9.516 kB / 0.9515 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.4732, allocations: 26.52 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.169e-05/0.4733, allocations: 47.98 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4733, allocations: 7.875 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4733, allocations: 0 / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.4733, allocations: 4 kB / 0.9516 GB, free: 7.707 MB / 0.7169 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.0003524/0.4737, allocations: 354.8 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.4737, allocations: 9.688 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.4737, allocations: 32.38 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.4738, allocations: 15.88 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.372e-05/0.4738, allocations: 165.9 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.4738, allocations: 2.812 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4739, allocations: 6.078 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.474, allocations: 75.48 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.474, allocations: 7.922 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.474, allocations: 0 / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.474, allocations: 1.312 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.4741, allocations: 16.44 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.4743, allocations: 285.9 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.4744, allocations: 35.33 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.4744, allocations: 19.09 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.4744, allocations: 1.562 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.4745, allocations: 65.73 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4745, allocations: 0 / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.4747, allocations: 71.17 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4747, allocations: 108.4 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.4748, allocations: 104.9 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4748, allocations: 31.11 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.4748, allocations: 81.36 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.4749, allocations: 14.38 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.4749, allocations: 19.3 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.4749, allocations: 324.1 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.475, allocations: 9.062 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.475, allocations: 37.22 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/0.4751, allocations: 27.75 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4751, allocations: 0 / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.069e-05/0.4751, allocations: 60.77 kB / 0.9535 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.4752, allocations: 9.188 kB / 0.9535 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4752, allocations: 3.984 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.4752, allocations: 1.375 kB / 0.9535 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.4752, allocations: 8.469 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4752, allocations: 5.031 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.4754, allocations: 8.641 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4754, allocations: 3.031 kB / 0.9535 GB, free: 5.676 MB / 0.7169 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 4.893e-05/0.4754, allocations: 119.9 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.4754, allocations: 6.75 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/0.4755, allocations: 3.5 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4755, allocations: 1.781 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4755, allocations: 0 / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4755, allocations: 3.984 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.58e-05/0.4755, allocations: 173.8 kB / 0.9538 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4756, allocations: 1.719 kB / 0.9538 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.4756, allocations: 2.719 kB / 0.9538 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4756, allocations: 0 / 0.9538 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4756, allocations: 5.609 kB / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4756, allocations: 0 / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4756, allocations: 3.984 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.548e-05/0.4757, allocations: 90.72 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.4757, allocations: 100.2 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.4758, allocations: 1.656 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.72e-05/0.4759, allocations: 9.641 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.4759, allocations: 5.266 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.4759, allocations: 1.375 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.4759, allocations: 84.84 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4759, allocations: 0 / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001806/0.4761, allocations: 10.31 kB / 0.9541 GB, free: 5.031 MB / 0.7169 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.0002315/0.4764, allocations: 0.6356 MB / 0.9548 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.4765, allocations: 34.08 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.4765, allocations: 0 / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.4765, allocations: 16.83 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.4767, allocations: 2.5 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.4773, allocations: 1.175 MB / 0.9559 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.4774, allocations: 0.6912 MB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.4774, allocations: 3.938 kB / 0.9566 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.4775, allocations: 13.55 kB / 0.9566 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.4775, allocations: 0 / 0.9566 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.4934, allocations: 1.737 MB / 0.9583 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.382/6.875, allocations: 15.73 kB / 0.9584 GB, free: 1.574 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches