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.664/1.664, allocations: 249.5 MB / 257 MB, free: 6.992 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.0009694/0.0009694, allocations: 179.5 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001003/0.001003, allocations: 90.42 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.033e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2669, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8413/1.108, allocations: 132.5 MB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.109, allocations: 80.44 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007365/1.116, allocations: 2.7 MB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.102e-06/1.116, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.233e-05/1.116, allocations: 4 kB / 1.017 GB, free: 3.129 MB / 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.0004056/1.116, allocations: 341.6 kB / 1.018 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.116, allocations: 8.031 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/1.117, allocations: 4 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.117, allocations: 163 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/1.117, allocations: 11.94 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.117, allocations: 3.984 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.401e-05/1.117, allocations: 15.19 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/1.117, allocations: 58.27 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.117, allocations: 3.938 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.117, allocations: 7.984 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/1.117, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/1.117, allocations: 245.5 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/1.117, allocations: 33.42 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/1.118, allocations: 15.78 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/1.118, allocations: 0 / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/1.118, allocations: 65.06 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/1.118, allocations: 7.938 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001768/1.118, allocations: 59.12 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.118, allocations: 102.8 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/1.118, allocations: 96.25 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/1.118, allocations: 25.7 kB / 1.019 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/1.118, allocations: 87.31 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/1.118, allocations: 11.75 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.118, allocations: 4 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.118, allocations: 318 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/1.118, allocations: 11.12 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/1.118, allocations: 32.69 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/1.118, allocations: 11 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.118, allocations: 0 / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.888e-05/1.119, allocations: 56 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.119, allocations: 4 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.119, allocations: 448 / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.119, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/1.119, allocations: 12.03 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.119, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/1.119, allocations: 15.98 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/1.119, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 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.729e-05/1.119, allocations: 108.9 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/1.119, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/1.119, allocations: 15.23 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.119, allocations: 4 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.119, allocations: 4 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.119, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/1.119, allocations: 149.3 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.119, allocations: 0 / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/1.119, allocations: 7.938 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/1.119, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.119, allocations: 15.17 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.119, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.119, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/1.119, allocations: 79.88 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/1.119, allocations: 92.48 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/1.119, allocations: 0 / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/1.12, allocations: 11.98 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/1.12, allocations: 0 / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/1.12, allocations: 7.984 kB / 1.02 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.55e-05/1.12, allocations: 82.47 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.81e-07/1.12, allocations: 0 / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001894/1.12, allocations: 12 kB / 1.02 GB, free: 0.5352 MB / 0.6355 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.0001671/1.12, allocations: 99.25 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001288/1.12, allocations: 34.05 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.12, allocations: 0 / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/1.12, allocations: 15.25 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/1.12, allocations: 0 / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/1.121, allocations: 70.69 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/1.121, allocations: 0.6845 MB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.182e-05/1.121, allocations: 11.98 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/1.121, allocations: 7.438 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.121, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of Templates: time 0.002892/1.124, allocations: 0.7471 MB / 1.021 GB, free: 14.86 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