Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001578/0.001578, allocations: 107.8 kB / 15.99 MB, free: 5.91 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.001592/0.001592, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.668/2.668, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 65.86 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003064/0.3516, allocations: 1.531 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004607/0.3521, allocations: 179.4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.3521, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.3522, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3524, allocations: 27.92 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3526, allocations: 51.3 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3527, allocations: 55.78 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3528, allocations: 8 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.3529, allocations: 27.91 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.353, allocations: 19.92 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.353, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.353, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.3531, allocations: 15.92 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.3531, allocations: 27.91 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.539e-05/0.3532, allocations: 36.17 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3532, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3532, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3533, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 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.000611/0.3539, allocations: 347.5 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3539, allocations: 12.62 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.354, allocations: 0.9375 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3541, allocations: 176.2 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3542, allocations: 4.375 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3542, allocations: 4.375 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3544, allocations: 72.75 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3544, allocations: 4.188 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3544, allocations: 3.938 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3544, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.3545, allocations: 19.98 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.3549, allocations: 280.8 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.355, allocations: 42.52 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.3551, allocations: 20.88 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3551, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.3553, allocations: 71.39 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3553, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.3555, allocations: 77.72 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.3556, allocations: 106.8 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3557, allocations: 101.9 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3557, allocations: 25.7 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3558, allocations: 88.12 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3558, allocations: 11.84 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.3559, allocations: 25.7 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3561, allocations: 318.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.3561, allocations: 8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.3562, allocations: 34.56 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.3562, allocations: 28.8 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3562, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001123/0.3563, allocations: 61.59 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3564, allocations: 6.375 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3564, allocations: 7.984 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3564, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.3565, allocations: 7.984 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3565, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3566, allocations: 11.98 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3566, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 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.0001015/0.3567, allocations: 115.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3567, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.3568, allocations: 11.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3568, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3568, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3568, allocations: 3.938 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.357, allocations: 174 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.357, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.357, allocations: 8 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.357, allocations: 3.938 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.357, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.357, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.357, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3572, allocations: 101 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.3573, allocations: 81.09 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3573, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3574, allocations: 11.98 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3575, allocations: 7.938 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3575, allocations: 3.984 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.3576, allocations: 87.28 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.314e-06/0.3576, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001951/0.3578, allocations: 15.94 kB / 1.069 GB, free: 10.19 MB / 0.8419 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.0001388/0.3579, allocations: 99.25 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.358, allocations: 27.98 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3581, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.3581, allocations: 19.98 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.3583, allocations: 11.88 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.3587, allocations: 155.3 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.3591, allocations: 0.6845 MB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.3591, allocations: 15.42 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3591, allocations: 0 / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of Templates: time 0.002705/0.3619, allocations: 0.8237 MB / 1.07 GB, free: 8.301 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches