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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001568/0.001568, allocations: 111.4 kB / 16.37 MB, free: 5.539 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.001731/0.001732, allocations: 193 kB / 17.31 MB, free: 5.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.372/1.372, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.55 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3001, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00283/0.303, allocations: 1.441 MB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004482/0.3035, allocations: 188.9 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.3035, allocations: 0 / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.3036, allocations: 15.86 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3038, allocations: 24.48 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.304, allocations: 59.41 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3041, allocations: 55.75 kB / 1.021 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.3042, allocations: 11.98 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.3043, allocations: 27.91 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.3043, allocations: 23.86 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3044, allocations: 4 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.3044, allocations: 8 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.3044, allocations: 15.98 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3045, allocations: 19.91 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3046, allocations: 55.75 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3046, allocations: 0 / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3046, allocations: 0 / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3046, allocations: 0 / 1.021 GB, free: 7.914 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.0005496/0.3052, allocations: 343.5 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3052, allocations: 8.031 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3052, allocations: 8.938 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3054, allocations: 176.3 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3054, allocations: 384 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3054, allocations: 8.312 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3056, allocations: 72.75 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3056, allocations: 192 / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3056, allocations: 3.938 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3056, allocations: 4 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.3057, allocations: 23.98 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3061, allocations: 272.8 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.3062, allocations: 42.5 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.3062, allocations: 16.86 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3063, allocations: 0 / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3064, allocations: 67.48 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3064, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002096/0.3066, allocations: 69.67 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.3067, allocations: 110.8 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.3068, allocations: 101.8 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3068, allocations: 29.7 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3069, allocations: 88.05 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.3069, allocations: 15.83 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.307, allocations: 21.72 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3071, allocations: 322.8 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.3071, allocations: 8 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.3072, allocations: 34.56 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.3072, allocations: 29.23 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3072, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001061/0.3074, allocations: 61.62 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3074, allocations: 8.031 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3074, allocations: 3.938 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3074, allocations: 0 / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.3075, allocations: 8 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3075, allocations: 0 / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3076, allocations: 15.89 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3076, allocations: 0 / 1.023 GB, free: 5.719 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.0001008/0.3077, allocations: 122.8 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.3078, allocations: 12 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.3078, allocations: 7.438 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3078, allocations: 192 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3078, allocations: 0 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.308, allocations: 181.6 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.308, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.308, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.308, allocations: 4 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.308, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.308, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.308, allocations: 7.938 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.3082, allocations: 89.05 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.3082, allocations: 89 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3083, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/0.3084, allocations: 11.98 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3084, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3084, allocations: 4.062 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.866e-05/0.3085, allocations: 95.27 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3085, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001961/0.3087, allocations: 12 kB / 1.023 GB, free: 4.992 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.0001311/0.3088, allocations: 99.25 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.309, allocations: 35.92 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.309, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.309, allocations: 12 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3092, allocations: 15.88 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.3095, allocations: 121.6 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3097, allocations: 0.6827 MB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3098, allocations: 4.25 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3098, allocations: 11.44 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3098, allocations: 0 / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of Templates: time 0.003058/0.3129, allocations: 0.8741 MB / 1.025 GB, free: 3.094 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=480 -s cvode -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