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.001443/0.001443, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001656/0.001656, allocations: 191 kB / 17.29 MB, free: 5.516 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 14.99 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.459/2.459, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.02 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2898, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002633/0.2925, allocations: 1.456 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004474/0.293, allocations: 189.5 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.293, allocations: 0 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.2931, allocations: 3.938 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.2933, allocations: 27.84 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.2935, allocations: 63.34 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.2936, allocations: 63.69 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.2937, allocations: 11.97 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.2938, allocations: 16 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.2939, allocations: 23.91 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.2939, allocations: 4 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.2939, allocations: 4 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.294, allocations: 19.92 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.294, allocations: 23.92 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.2941, allocations: 55.73 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2941, allocations: 0 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2941, allocations: 0 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2941, allocations: 0 / 1.021 GB, free: 7.859 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.0004735/0.2946, allocations: 347.5 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2947, allocations: 12.03 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.2947, allocations: 0.9375 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2948, allocations: 176.3 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2949, allocations: 4.375 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2949, allocations: 4.375 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.295, allocations: 76.75 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.295, allocations: 8.125 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2951, allocations: 3.938 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2951, allocations: 0 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.2951, allocations: 16 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.2955, allocations: 276.8 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/0.2956, allocations: 42.5 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.2956, allocations: 16.86 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.2956, allocations: 0 / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.2958, allocations: 63.48 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2958, allocations: 4 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.296, allocations: 69.67 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.2961, allocations: 114.7 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.2962, allocations: 105.8 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2962, allocations: 25.7 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.2962, allocations: 88.05 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.2963, allocations: 11.84 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2963, allocations: 21.7 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2964, allocations: 326.8 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.2965, allocations: 7.984 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.2965, allocations: 30.58 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.2966, allocations: 28.84 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2966, allocations: 0 / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.2967, allocations: 61.62 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2967, allocations: 4 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2967, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2967, allocations: 8.031 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.2968, allocations: 4 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2968, allocations: 0 / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2969, allocations: 15.89 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2969, allocations: 4.438 kB / 1.023 GB, free: 5.66 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 7.788e-05/0.297, allocations: 114.4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2971, allocations: 4.188 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.2971, allocations: 3.5 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2971, allocations: 15.97 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2971, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2971, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2972, allocations: 169.6 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2972, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.2973, allocations: 4 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.2973, allocations: 3.984 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2973, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2973, allocations: 3.938 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2973, allocations: 3.938 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2974, allocations: 93.06 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.2975, allocations: 85 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.2975, allocations: 11.94 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2976, allocations: 7.984 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.2977, allocations: 7.984 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2977, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.2977, allocations: 83.28 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2977, allocations: 0 / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000209/0.298, allocations: 16 kB / 1.023 GB, free: 4.941 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 9.878e-05/0.2981, allocations: 103.2 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2982, allocations: 35.92 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2982, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.959e-05/0.2982, allocations: 16 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.2984, allocations: 7.938 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.2987, allocations: 124.1 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2989, allocations: 0.6846 MB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2989, allocations: 8.25 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.299, allocations: 7.438 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.299, allocations: 0 / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of Templates: time 0.002836/0.3018, allocations: 0.8698 MB / 1.025 GB, free: 3.043 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 gbode -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