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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001334/0.001334, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001487/0.001487, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.537/1.537, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.95 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.305, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002601/0.3076, allocations: 1.515 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004368/0.3081, allocations: 182.9 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.3081, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.3082, allocations: 7.938 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.3084, allocations: 27.91 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.3086, allocations: 43.94 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.3087, allocations: 55.78 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.3088, allocations: 11.98 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.3089, allocations: 19.98 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.3089, allocations: 19.92 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.309, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.309, allocations: 4 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.309, allocations: 19.91 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.3091, allocations: 19.92 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.3092, allocations: 60.08 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3092, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3092, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3092, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 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.0004994/0.3097, allocations: 343.5 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3097, allocations: 12.03 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3098, allocations: 4.922 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3099, allocations: 180.2 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3099, allocations: 8.359 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3099, allocations: 8.375 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3101, allocations: 68.81 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3101, allocations: 192 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3101, allocations: 7.938 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3101, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.671e-05/0.3102, allocations: 23.92 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.3105, allocations: 268.9 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.3107, allocations: 38.56 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.3107, allocations: 16.86 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.3107, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3109, allocations: 71.41 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.3109, allocations: 7.938 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.3111, allocations: 69.59 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.3112, allocations: 106.8 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.3113, allocations: 105.8 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3113, allocations: 25.7 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.3113, allocations: 84.14 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3114, allocations: 19.77 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3114, allocations: 17.72 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3115, allocations: 322.8 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.3116, allocations: 15.94 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.3116, allocations: 34.56 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.3117, allocations: 24.86 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3117, allocations: 0 / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.3118, allocations: 61.97 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3118, allocations: 4 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3118, allocations: 3.984 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3118, allocations: 4.094 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.3119, allocations: 15.94 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3119, allocations: 0 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3121, allocations: 11.98 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3121, allocations: 4 kB / 1.072 GB, free: 6.59 MB / 0.8262 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 8.596e-05/0.3122, allocations: 113.8 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3122, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.3122, allocations: 7.5 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3122, allocations: 4 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3122, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3122, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.3124, allocations: 173.6 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3124, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.3124, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3124, allocations: 192 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3124, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3125, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3125, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3126, allocations: 112.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.3127, allocations: 81.09 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3127, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3128, allocations: 11.98 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3129, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.3129, allocations: 4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.3129, allocations: 87.27 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3129, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001944/0.3131, allocations: 16 kB / 1.072 GB, free: 5.875 MB / 0.8262 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.0001117/0.3133, allocations: 99.25 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3134, allocations: 31.92 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3134, allocations: 0 / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.3135, allocations: 12 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.3136, allocations: 19.86 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.314, allocations: 145.2 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3142, allocations: 0.6826 MB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.3142, allocations: 4 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.3143, allocations: 7.438 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3143, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.002927/0.3172, allocations: 0.8672 MB / 1.074 GB, free: 3.965 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/jenkins/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