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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00855/0.00855, allocations: 104.3 kB / 15.74 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 189.2 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 0.9509 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.98, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003104/0.9831, allocations: 1.446 MB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005071/0.9837, allocations: 185.4 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.9837, allocations: 1.062 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.9838, allocations: 9.188 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.984, allocations: 24.31 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.9843, allocations: 52.34 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.9844, allocations: 60.64 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.9845, allocations: 8.359 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.9846, allocations: 27.16 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.9847, allocations: 23.52 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.9848, allocations: 4 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.9848, allocations: 4.75 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.9848, allocations: 18 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.9849, allocations: 21.62 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.985, allocations: 52.62 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.985, allocations: 0.6094 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.985, allocations: 1.031 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.985, allocations: 4 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005797/0.9856, allocations: 349.3 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9857, allocations: 8.594 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.9857, allocations: 4.5 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.9859, allocations: 168.4 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.9859, allocations: 1.938 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.9859, allocations: 11.28 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.9861, allocations: 82.84 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9862, allocations: 192 / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.9862, allocations: 4.531 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.9862, allocations: 0.875 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.9863, allocations: 16.61 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.9867, allocations: 274.2 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.9868, allocations: 50.28 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.9869, allocations: 17.39 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.9869, allocations: 1.062 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.9871, allocations: 57.91 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.9871, allocations: 1.125 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002587/0.9873, allocations: 77.38 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.9874, allocations: 105.2 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.9875, allocations: 108.5 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.9875, allocations: 25.7 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.9876, allocations: 87.5 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.9876, allocations: 10.31 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.9877, allocations: 22.5 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.9877, allocations: 317 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.9878, allocations: 11.66 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.9878, allocations: 38.39 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.9879, allocations: 26.08 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9879, allocations: 0 / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.988, allocations: 63.12 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9881, allocations: 6.453 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9881, allocations: 0 / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9881, allocations: 1.188 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.9882, allocations: 6.531 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.9882, allocations: 5.125 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.9883, allocations: 12.77 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.9883, allocations: 1.719 kB / 1.092 GB, free: 2.379 MB / 0.8575 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/0.9884, allocations: 118.6 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.9884, allocations: 2.125 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.9885, allocations: 17.28 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9885, allocations: 0.7031 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9885, allocations: 1.062 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9885, allocations: 0.7031 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.9886, allocations: 176.2 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9886, allocations: 5.094 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.9887, allocations: 6.688 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.9887, allocations: 1.281 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9887, allocations: 0.7031 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9887, allocations: 1.344 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9887, allocations: 0.5625 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.9888, allocations: 93.97 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.9889, allocations: 87.31 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.9889, allocations: 5.188 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.989, allocations: 8.688 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.9891, allocations: 7.344 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.9891, allocations: 3.859 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.9891, allocations: 85.39 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9891, allocations: 0 / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002017/0.9893, allocations: 10.72 kB / 1.092 GB, free: 1.762 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.9895, allocations: 107.3 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.9896, allocations: 29.41 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9896, allocations: 1.062 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.9897, allocations: 17.94 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.9899, allocations: 11.34 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.9902, allocations: 121.8 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.9904, allocations: 0.6798 MB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.9904, allocations: 13.61 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.9904, allocations: 10.62 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9905, allocations: 0 / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of Templates: time 0.003845/0.9943, allocations: 0.9055 MB / 1.094 GB, free: 0.6992 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches