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.001013/0.001013, allocations: 92 kB / 16.02 MB, free: 80 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.001237/0.001237, allocations: 173.9 kB / 16.92 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 13.7 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001877/0.3243, allocations: 1.182 MB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.3248, allocations: 175.4 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.3248, allocations: 0 / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.3249, allocations: 0 / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.3251, allocations: 23.91 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.3254, allocations: 55.86 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.3255, allocations: 59.7 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3256, allocations: 7.938 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.3257, allocations: 23.97 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.334e-05/0.3258, allocations: 23.84 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3258, allocations: 4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3258, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.3259, allocations: 11.94 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.3259, allocations: 49.61 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.618e-05/0.326, allocations: 32.16 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.326, allocations: 4 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.385e-06/0.326, allocations: 0 / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.326, allocations: 0 / 1.061 GB, free: 3.332 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.0005269/0.3266, allocations: 335.6 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3266, allocations: 11.97 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3267, allocations: 12.84 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3268, allocations: 172.3 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3268, allocations: 384 / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3269, allocations: 8.359 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.327, allocations: 72.77 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.327, allocations: 192 / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3271, allocations: 15.91 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3271, allocations: 0 / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.3271, allocations: 16 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3276, allocations: 276.8 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.3277, allocations: 38.52 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.3277, allocations: 20.94 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3277, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.3279, allocations: 63.39 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/0.3279, allocations: 4 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002259/0.3282, allocations: 73.61 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3282, allocations: 106.8 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.3283, allocations: 105.8 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3284, allocations: 29.7 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.3284, allocations: 88.05 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3285, allocations: 11.83 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.3285, allocations: 17.72 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3286, allocations: 318.8 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.3287, allocations: 12 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.3287, allocations: 34.56 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.6e-05/0.3288, allocations: 28.86 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3288, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.3289, allocations: 57.62 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3289, allocations: 11.94 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3289, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3289, allocations: 448 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.329, allocations: 8.031 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.329, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.3291, allocations: 15.98 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3292, allocations: 4 kB / 1.063 GB, free: 1.141 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.768e-05/0.3293, allocations: 117.8 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.3293, allocations: 7.891 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.3293, allocations: 7.5 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3293, allocations: 4 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3293, allocations: 4 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3293, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.3295, allocations: 169.6 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3295, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.3295, allocations: 11.94 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3295, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3295, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3295, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3296, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.3297, allocations: 97.05 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3298, allocations: 85 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3298, allocations: 8.172 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3299, allocations: 11.98 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3299, allocations: 4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.33, allocations: 7.984 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.33, allocations: 83.27 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.33, allocations: 0 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001932/0.3302, allocations: 16 kB / 1.063 GB, free: 432 kB / 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.0001325/0.3304, allocations: 103.2 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.3305, allocations: 31.98 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3305, allocations: 0 / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.3305, allocations: 12 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.3307, allocations: 9.312 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.331, allocations: 162.2 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3313, allocations: 0.6848 MB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.3314, allocations: 11.44 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3314, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.002427/0.3338, allocations: 0.8214 MB / 1.065 GB, free: 14.53 MB / 0.8262 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