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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 171.2 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 223.2 MB / 0.7949 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001194, allocations: 103 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 11.06 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3484, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.5543, allocations: 149.9 MB / 1.369 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/0.5548, allocations: 87.88 kB / 1.369 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008097/0.5629, allocations: 2.744 MB / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.16e-06/0.5629, allocations: 0 / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.563, allocations: 3.938 kB / 1.372 GB, free: 9.52 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000521/0.5635, allocations: 351.2 kB / 1.372 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5635, allocations: 12.03 kB / 1.372 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.5636, allocations: 4 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.5638, allocations: 171 kB / 1.372 GB, free: 8.906 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.5638, allocations: 4 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.5638, allocations: 0 / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.564, allocations: 69.06 kB / 1.373 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.564, allocations: 0 / 1.373 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5641, allocations: 0 / 1.373 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5641, allocations: 4 kB / 1.373 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.5642, allocations: 19.92 kB / 1.373 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.5646, allocations: 268.8 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5648, allocations: 34.58 kB / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.5648, allocations: 3.984 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.565, allocations: 67.42 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.565, allocations: 0 / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002342/0.5652, allocations: 69.67 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.5653, allocations: 110.8 kB / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5654, allocations: 104.9 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.5655, allocations: 29.7 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.5655, allocations: 80.14 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.5656, allocations: 7.906 kB / 1.373 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.5656, allocations: 0 / 1.373 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5657, allocations: 322.8 kB / 1.374 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.5658, allocations: 11.94 kB / 1.374 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.5658, allocations: 34.5 kB / 1.374 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.5659, allocations: 16 kB / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5659, allocations: 0 / 1.374 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.566, allocations: 61.59 kB / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.566, allocations: 4 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.566, allocations: 4.031 kB / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.566, allocations: 0 / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.5661, allocations: 4 kB / 1.374 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5661, allocations: 4 kB / 1.374 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5663, allocations: 7.984 kB / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5663, allocations: 7.953 kB / 1.374 GB, free: 7.426 MB / 0.8698 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.5664, allocations: 121.7 kB / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.5664, allocations: 0 / 1.374 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.5665, allocations: 15.48 kB / 1.374 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5665, allocations: 4 kB / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5665, allocations: 0 / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5665, allocations: 0 / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.5667, allocations: 165.6 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5667, allocations: 0 / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.5667, allocations: 4 kB / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5667, allocations: 0 / 1.374 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5667, allocations: 3.984 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5667, allocations: 0 / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5667, allocations: 448 / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.5669, allocations: 96.92 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.567, allocations: 89.09 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.567, allocations: 4 kB / 1.374 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5671, allocations: 11.98 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.5672, allocations: 7.984 kB / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.5672, allocations: 0 / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.5672, allocations: 87.28 kB / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5672, allocations: 4 kB / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001998/0.5675, allocations: 8 kB / 1.374 GB, free: 6.715 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.5676, allocations: 118.9 kB / 1.374 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.5678, allocations: 24 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5678, allocations: 4 kB / 1.375 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.5678, allocations: 19.92 kB / 1.375 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.5679, allocations: 5.266 kB / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.5683, allocations: 128.7 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.5686, allocations: 0.6774 MB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.5686, allocations: 15.97 kB / 1.375 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.5687, allocations: 7.438 kB / 1.375 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5687, allocations: 0 / 1.375 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of Templates: time 0.003176/0.5718, allocations: 0.7844 MB / 1.376 GB, free: 4.875 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches