Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 184.7 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009207/0.0009208, allocations: 96.55 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004961, allocations: 9.469 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4483, allocations: 132.3 MB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4487, allocations: 83.94 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007502/0.4562, allocations: 2.716 MB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.997e-06/0.4562, allocations: 4 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4562, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 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.0004481/0.4567, allocations: 359.1 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4567, allocations: 12.03 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.4568, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4569, allocations: 174.9 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4569, allocations: 0 / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.457, allocations: 7.984 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4571, allocations: 66.05 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4571, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4571, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4571, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.4572, allocations: 23.92 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.4576, allocations: 260.9 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/0.4577, allocations: 38.56 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.4577, allocations: 0 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.4579, allocations: 67.42 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4579, allocations: 0 / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.4581, allocations: 65.69 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.4582, allocations: 106.8 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.4583, allocations: 97 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.4583, allocations: 29.7 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.4584, allocations: 88.12 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.4584, allocations: 15.73 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.4585, allocations: 4 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4586, allocations: 322.8 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.4586, allocations: 8 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.4587, allocations: 34.5 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.4587, allocations: 12.38 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4587, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.912e-05/0.4588, allocations: 61.69 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4589, allocations: 10.97 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4589, allocations: 0 / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4589, allocations: 4.031 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.459, allocations: 7.938 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.459, allocations: 3.984 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.4591, allocations: 8 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.4591, allocations: 4 kB / 1.034 GB, free: 6.602 MB / 0.6823 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 9.538e-05/0.4592, allocations: 121.7 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.4592, allocations: 8.094 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.4593, allocations: 11.48 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.4593, allocations: 0 / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4593, allocations: 4 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4593, allocations: 3.938 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4594, allocations: 165.6 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4594, allocations: 7.984 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.4595, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4595, allocations: 0 / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4595, allocations: 4 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.4595, allocations: 0 / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4595, allocations: 0 / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4596, allocations: 93.06 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.4597, allocations: 89.02 kB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4597, allocations: 7.922 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.4598, allocations: 8 kB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.4599, allocations: 7.984 kB / 1.034 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.4599, allocations: 0 / 1.034 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.4599, allocations: 87.28 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4599, allocations: 0 / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000189/0.4601, allocations: 15.98 kB / 1.034 GB, free: 5.879 MB / 0.6823 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.0001351/0.4603, allocations: 103.5 kB / 1.034 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4604, allocations: 27.98 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4604, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.4604, allocations: 19.94 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.4606, allocations: 7.516 kB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.4608, allocations: 132.6 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.4611, allocations: 0.6848 MB / 1.035 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.4612, allocations: 4 kB / 1.035 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.4612, allocations: 11.44 kB / 1.035 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4612, allocations: 0 / 1.035 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of Templates: time 0.002671/0.4639, allocations: 0.7924 MB / 1.036 GB, free: 4.062 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches