Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001576/0.001576, allocations: 106.1 kB / 15.98 MB, free: 6.332 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.001576/0.001576, allocations: 198.6 kB / 16.91 MB, free: 6.18 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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437.1 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.83 kB / 0.8694 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.338, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002837/0.3408, allocations: 1.515 MB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004064/0.3413, allocations: 179.4 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.3413, allocations: 4 kB / 1.019 GB, free: 9.25 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.3414, allocations: 3.938 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.3415, allocations: 15.92 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3417, allocations: 57.05 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.954e-05/0.3418, allocations: 63.69 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.3419, allocations: 7.984 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.3419, allocations: 19.98 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.342, allocations: 19.92 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.342, allocations: 15.94 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.342, allocations: 4 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.3421, allocations: 15.91 kB / 1.019 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.3421, allocations: 19.92 kB / 1.019 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.695e-05/0.3422, allocations: 32.17 kB / 1.019 GB, free: 8.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3422, allocations: 4 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3422, allocations: 0 / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.3422, allocations: 0 / 1.019 GB, free: 8.977 MB / 0.795 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.0006149/0.3428, allocations: 353.3 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3428, allocations: 8.031 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.3429, allocations: 4.938 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3431, allocations: 168.3 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3431, allocations: 384 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3431, allocations: 4.375 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3433, allocations: 76.75 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3433, allocations: 192 / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3433, allocations: 7.938 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3434, allocations: 4 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.3434, allocations: 15.98 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.3439, allocations: 280.8 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.344, allocations: 38.52 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.344, allocations: 24.94 kB / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3441, allocations: 0 / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3442, allocations: 63.38 kB / 1.02 GB, free: 7.773 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 3.447e-06/0.3443, allocations: 0 / 1.02 GB, free: 7.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002325/0.3445, allocations: 77.55 kB / 1.02 GB, free: 7.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.3446, allocations: 106.8 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3447, allocations: 101.9 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.3447, allocations: 29.7 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.3448, allocations: 92.03 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3448, allocations: 15.84 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3449, allocations: 17.7 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3451, allocations: 318.8 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.3451, allocations: 12 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.3452, allocations: 34.5 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.3453, allocations: 25.27 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3453, allocations: 4 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001223/0.3454, allocations: 69.62 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3454, allocations: 4 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3454, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3455, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.3455, allocations: 11.98 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3455, allocations: 0 / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3457, allocations: 11.89 kB / 1.021 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3457, allocations: 0 / 1.021 GB, free: 6.777 MB / 0.795 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 0.0001159/0.3458, allocations: 121.8 kB / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.3458, allocations: 4 kB / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.3459, allocations: 3.5 kB / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3459, allocations: 0 / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3459, allocations: 0 / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3459, allocations: 0 / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.346, allocations: 177.6 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.346, allocations: 0 / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.3461, allocations: 3.938 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3461, allocations: 4 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3461, allocations: 4 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3461, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3461, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3463, allocations: 89.05 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.3463, allocations: 96.94 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.3464, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3465, allocations: 11.98 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.3465, allocations: 4 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3466, allocations: 7.984 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.3466, allocations: 83.28 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3466, allocations: 0 / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001959/0.3468, allocations: 16 kB / 1.022 GB, free: 6.062 MB / 0.795 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.0001351/0.347, allocations: 96.03 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.3471, allocations: 39.92 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3471, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.3472, allocations: 19.98 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.3473, allocations: 8.688 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3477, allocations: 155.2 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.348, allocations: 0.681 MB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.348, allocations: 11.42 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.3481, allocations: 3.938 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of Templates: time 0.002424/0.3505, allocations: 0.8287 MB / 1.024 GB, free: 4.168 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches