Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001574/0.001574, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.91 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3529, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003693/0.3566, allocations: 1.539 MB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.3571, allocations: 175.5 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.3572, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.3573, allocations: 3.938 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.3576, allocations: 22.66 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3578, allocations: 47.94 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3579, allocations: 59.69 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.358, allocations: 12 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.3581, allocations: 15.98 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.3582, allocations: 19.91 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.3582, allocations: 4 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.3582, allocations: 0 / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3583, allocations: 15.92 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.3583, allocations: 19.92 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3586, allocations: 40.16 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3586, allocations: 3.938 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3586, allocations: 0 / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3586, allocations: 0 / 1.055 GB, free: 6.281 MB / 0.8106 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.0006509/0.3593, allocations: 353.2 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3593, allocations: 11.97 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.3594, allocations: 8.938 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3595, allocations: 164.3 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3595, allocations: 4.375 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3596, allocations: 4.359 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3597, allocations: 76.83 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3598, allocations: 192 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3598, allocations: 11.86 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3598, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.3599, allocations: 16 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.3604, allocations: 276.8 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3605, allocations: 38.52 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.3606, allocations: 20.88 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3606, allocations: 7.984 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3608, allocations: 59.39 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3608, allocations: 7.938 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002337/0.3611, allocations: 69.67 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.3611, allocations: 102.8 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.3612, allocations: 117.8 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3613, allocations: 29.7 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.3613, allocations: 88.05 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3614, allocations: 11.84 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3614, allocations: 21.7 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3616, allocations: 318.8 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.3616, allocations: 8 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.3617, allocations: 38.56 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.3617, allocations: 28.84 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3617, allocations: 0 / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001165/0.3619, allocations: 57.64 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3619, allocations: 8 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3619, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3619, allocations: 3.984 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.362, allocations: 4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.362, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3621, allocations: 19.92 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3621, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 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 9.449e-05/0.3622, allocations: 117.8 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.3623, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.3623, allocations: 3.5 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3623, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3623, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3623, allocations: 3.984 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3625, allocations: 173.6 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3625, allocations: 4 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.3625, allocations: 4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3625, allocations: 448 / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3625, allocations: 3.984 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3625, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3625, allocations: 4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.3627, allocations: 92.94 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.3628, allocations: 93 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3628, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3629, allocations: 15.92 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.363, allocations: 7.984 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.363, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.3631, allocations: 87.28 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3631, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001948/0.3633, allocations: 8 kB / 1.057 GB, free: 3.363 MB / 0.8106 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.0001302/0.3634, allocations: 107.2 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.3635, allocations: 31.94 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3635, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/0.3636, allocations: 16.22 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.3638, allocations: 7.938 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.3641, allocations: 153 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3645, allocations: 0.6848 MB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.3646, allocations: 15.44 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.3646, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of Templates: time 0.002469/0.367, allocations: 0.8276 MB / 1.059 GB, free: 1.457 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches