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.007142/0.007142, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001283/0.001283, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.446/2.446, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3602, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002786/0.363, allocations: 1.455 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005242/0.3635, allocations: 192.8 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.3636, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.3637, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.364, allocations: 23.84 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3642, allocations: 58.98 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3644, allocations: 59.78 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3645, allocations: 11.97 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.3646, allocations: 23.98 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.3647, allocations: 19.92 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3647, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.3647, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.3648, allocations: 19.92 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.3648, allocations: 19.92 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.365, allocations: 51.8 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.365, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.365, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.365, allocations: 0 / 1.09 GB, free: 15.54 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.0006641/0.3657, allocations: 351.4 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3657, allocations: 12.03 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3658, allocations: 0.9375 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.3659, allocations: 180.2 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.366, allocations: 384 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.366, allocations: 4.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3662, allocations: 72.81 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3662, allocations: 192 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3662, allocations: 11.88 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3662, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.3663, allocations: 12 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.3667, allocations: 280.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3669, allocations: 42.55 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.3669, allocations: 16.86 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3669, allocations: 3.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.3671, allocations: 67.42 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3671, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.3674, allocations: 69.67 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.3674, allocations: 106.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.3675, allocations: 113.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3676, allocations: 25.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.3676, allocations: 84.05 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3677, allocations: 15.84 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3677, allocations: 21.7 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3678, allocations: 318.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.3679, allocations: 15.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.3679, allocations: 30.52 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.368, allocations: 28.84 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.368, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001065/0.3681, allocations: 65.59 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3681, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3681, allocations: 4.031 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3682, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/0.3682, allocations: 8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3683, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3684, allocations: 14.73 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3684, allocations: 4 kB / 1.092 GB, free: 13.34 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 7.858e-05/0.3685, allocations: 117.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.3685, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.3685, allocations: 7.484 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3685, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3685, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3685, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3687, allocations: 169.6 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3687, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.3687, allocations: 8.422 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3687, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3687, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3687, allocations: 7.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3688, allocations: 3.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.3689, allocations: 100.9 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.369, allocations: 85.09 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.369, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.3691, allocations: 7.984 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3692, allocations: 7.984 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3692, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.466e-05/0.3692, allocations: 83.28 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3692, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002088/0.3694, allocations: 16 kB / 1.092 GB, free: 12.62 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.000129/0.3696, allocations: 103.5 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.3697, allocations: 31.97 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3697, allocations: 0 / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.3698, allocations: 19.94 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.3699, allocations: 5.625 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.3703, allocations: 133.6 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3705, allocations: 0.6806 MB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.3705, allocations: 7.906 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.3706, allocations: 11.44 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3706, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.003266/0.3739, allocations: 0.8817 MB / 1.094 GB, free: 10.7 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