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.269/2.269, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001058/0.001058, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.474/1.474, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 83.98 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.827e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3158, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.366, allocations: 149.1 MB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.366, allocations: 89.44 kB / 1.352 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008089/1.374, allocations: 2.719 MB / 1.354 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.315e-06/1.374, allocations: 4 kB / 1.354 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.311e-06/1.374, allocations: 0 / 1.354 GB, free: 33.95 MB / 0.8386 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.0004173/1.375, allocations: 337.7 kB / 1.355 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.375, allocations: 11.38 kB / 1.355 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/1.375, allocations: 8.922 kB / 1.355 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/1.375, allocations: 169.6 kB / 1.355 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/1.375, allocations: 4.672 kB / 1.355 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/1.375, allocations: 0 / 1.355 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.16e-05/1.375, allocations: 15.09 kB / 1.355 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.375, allocations: 64.94 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.375, allocations: 0 / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/1.375, allocations: 0 / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.375, allocations: 0.7031 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/1.376, allocations: 240.9 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/1.376, allocations: 42.16 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/1.376, allocations: 16.34 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/1.376, allocations: 7.922 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/1.376, allocations: 57.53 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/1.376, allocations: 0 / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/1.376, allocations: 64.72 kB / 1.355 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.376, allocations: 107.4 kB / 1.355 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/1.377, allocations: 94.86 kB / 1.356 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.377, allocations: 29.52 kB / 1.356 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/1.377, allocations: 84.7 kB / 1.356 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/1.377, allocations: 12.59 kB / 1.356 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/1.377, allocations: 3.875 kB / 1.356 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.377, allocations: 316 kB / 1.356 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/1.377, allocations: 7.891 kB / 1.356 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/1.377, allocations: 35.19 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/1.377, allocations: 12.22 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.377, allocations: 0 / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.289e-05/1.377, allocations: 59.2 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.377, allocations: 7.656 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.377, allocations: 0.6562 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.377, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/1.377, allocations: 5.062 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.377, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/1.377, allocations: 14.77 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.377, allocations: 4.203 kB / 1.356 GB, free: 32.24 MB / 0.8386 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.932e-05/1.377, allocations: 104.9 kB / 1.356 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/1.377, allocations: 8.312 kB / 1.356 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/1.377, allocations: 8.156 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/1.377, allocations: 0 / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.377, allocations: 4.531 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.377, allocations: 3.938 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/1.378, allocations: 146.9 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.378, allocations: 0 / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/1.378, allocations: 4.406 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.378, allocations: 0 / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.378, allocations: 0.6562 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.378, allocations: 4.625 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.378, allocations: 7.875 kB / 1.356 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/1.378, allocations: 80.05 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/1.378, allocations: 100.2 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/1.378, allocations: 0 / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/1.378, allocations: 10.91 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/1.378, allocations: 2.297 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/1.378, allocations: 4.359 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.197e-05/1.378, allocations: 86.97 kB / 1.357 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.378, allocations: 0 / 1.357 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001972/1.378, allocations: 12.48 kB / 1.357 GB, free: 31.7 MB / 0.8386 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.0001604/1.378, allocations: 103.3 kB / 1.357 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001226/1.379, allocations: 30.58 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.379, allocations: 0 / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/1.379, allocations: 15.38 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/1.379, allocations: 5.359 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/1.379, allocations: 67.05 kB / 1.357 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/1.379, allocations: 0.6814 MB / 1.358 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.097e-05/1.379, allocations: 9.266 kB / 1.358 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/1.379, allocations: 8.094 kB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.379, allocations: 3.719 kB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.003116/1.383, allocations: 0.7509 MB / 1.358 GB, free: 30.75 MB / 0.8386 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