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.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 174.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008965/0.0008966, allocations: 100.8 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.322e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2591, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8449/1.104, allocations: 132.2 MB / 1.021 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/1.104, allocations: 80.62 kB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007413/1.112, allocations: 2.707 MB / 1.024 GB, free: 252 kB / 0.6355 GB Notification: Performance of FrontEnd: time 4.418e-06/1.112, allocations: 0 / 1.024 GB, free: 252 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.112, allocations: 3.938 kB / 1.024 GB, free: 248 kB / 0.6355 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.000426/1.112, allocations: 342 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.112, allocations: 15.97 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/1.113, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/1.113, allocations: 170 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/1.113, allocations: 7.922 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/1.113, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/1.113, allocations: 67.83 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.113, allocations: 3.938 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/1.113, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.113, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/1.113, allocations: 15.11 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/1.113, allocations: 262.3 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.782e-05/1.114, allocations: 37.56 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/1.114, allocations: 20.23 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/1.114, allocations: 0 / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/1.114, allocations: 70.16 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/1.114, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/1.114, allocations: 55.81 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/1.114, allocations: 109.9 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/1.114, allocations: 99.8 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/1.114, allocations: 29.7 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/1.114, allocations: 82.39 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/1.114, allocations: 18.86 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/1.114, allocations: 4 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.115, allocations: 318.8 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/1.115, allocations: 11.81 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/1.115, allocations: 33.45 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/1.115, allocations: 12.22 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.115, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.684e-05/1.115, allocations: 59.69 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.115, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.115, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.115, allocations: 4 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/1.115, allocations: 14.48 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.115, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/1.115, allocations: 15.98 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/1.115, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 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 () * 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.735e-05/1.115, allocations: 111.9 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/1.115, allocations: 4 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/1.115, allocations: 7.438 kB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/1.115, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.115, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.115, allocations: 3.938 kB / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/1.115, allocations: 176.3 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.115, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/1.115, allocations: 8 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.115, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.115, allocations: 3.438 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.115, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.115, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/1.116, allocations: 94.38 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/1.116, allocations: 85.09 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/1.116, allocations: 3.438 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/1.116, allocations: 15.98 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/1.116, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.116, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.092e-05/1.116, allocations: 86.34 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.116, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001899/1.116, allocations: 19.42 kB / 1.026 GB, free: 13.56 MB / 0.6511 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) * 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.0001628/1.116, allocations: 99.25 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001099/1.116, allocations: 27.06 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.116, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/1.116, allocations: 19.19 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/1.117, allocations: 11.81 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/1.117, allocations: 77.8 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/1.117, allocations: 0.6809 MB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.519e-05/1.117, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/1.117, allocations: 19.42 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/1.117, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.002861/1.12, allocations: 0.7841 MB / 1.028 GB, free: 11.83 MB / 0.6511 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