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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001885/0.001893, allocations: 109.3 kB / 16.27 MB, free: 6.41 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.002429/0.002429, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.891/1.891, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 68.47 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3111, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003045/0.3142, allocations: 1.448 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004758/0.3147, allocations: 183.4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.3148, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.3149, allocations: 7.984 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.3151, allocations: 19.86 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3154, allocations: 56.8 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3155, allocations: 63.78 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3156, allocations: 11.97 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.3157, allocations: 16 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.3158, allocations: 31.89 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3158, allocations: 4 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.3159, allocations: 8 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3159, allocations: 15.92 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.3159, allocations: 11.94 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.316, allocations: 56.08 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3161, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3161, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.3161, allocations: 0 / 1.066 GB, free: 13.09 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.000587/0.3167, allocations: 347.5 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3167, allocations: 8.625 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.3168, allocations: 8.938 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3169, allocations: 184.2 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.317, allocations: 384 / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.317, allocations: 4.375 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3171, allocations: 68.81 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3171, allocations: 192 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.3172, allocations: 11.94 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3172, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.3172, allocations: 19.94 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3176, allocations: 272.9 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3178, allocations: 34.56 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.3178, allocations: 16.86 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3178, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.318, allocations: 71.42 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.318, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002197/0.3182, allocations: 73.58 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.3183, allocations: 106.8 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.3184, allocations: 113.8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3184, allocations: 29.7 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.3185, allocations: 80.14 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3185, allocations: 19.83 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3186, allocations: 21.7 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3187, allocations: 318.8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.3187, allocations: 15.98 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.3188, allocations: 30.52 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.3189, allocations: 28.84 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3189, allocations: 3.938 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.319, allocations: 65.64 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.319, allocations: 7.984 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.319, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.319, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.3191, allocations: 11.94 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3191, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3192, allocations: 7.984 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3193, allocations: 0 / 1.068 GB, free: 10.89 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 9.908e-05/0.3194, allocations: 117.8 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.3194, allocations: 8 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.3194, allocations: 3.5 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.3194, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3194, allocations: 4.172 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.3194, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3196, allocations: 173.6 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3196, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.3196, allocations: 4.438 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3196, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3197, allocations: 3.984 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3197, allocations: 8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3197, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.3199, allocations: 96.91 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.3199, allocations: 85.09 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.32, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3201, allocations: 7.984 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3201, allocations: 7.922 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3202, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.3202, allocations: 87.28 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3202, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002018/0.3204, allocations: 12 kB / 1.069 GB, free: 10.17 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.0001647/0.3206, allocations: 103.8 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.3208, allocations: 35.92 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3208, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.3208, allocations: 12 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.321, allocations: 11.94 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.3214, allocations: 147.3 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3217, allocations: 0.6845 MB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.3217, allocations: 11.44 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3218, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of Templates: time 0.002289/0.324, allocations: 0.8408 MB / 1.07 GB, free: 8.273 MB / 0.8419 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