Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008808/0.008808, allocations: 108.4 kB / 15.71 MB, free: 5.543 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.001577/0.001577, allocations: 190.9 kB / 16.64 MB, free: 5.484 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.474/1.474, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.69 kB / 0.9509 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3075, allocations: 140.4 MB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00246/0.31, allocations: 1.258 MB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3111, allocations: 0.7391 MB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.3111, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.3112, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3115, allocations: 7.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3117, allocations: 53.66 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.3118, allocations: 27.86 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.3118, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.3119, allocations: 15.98 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.312, allocations: 11.92 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3121, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.3121, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.3122, allocations: 15.91 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.3122, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.3123, allocations: 27.92 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3123, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3123, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3123, allocations: 4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003929/0.3127, allocations: 327.5 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3128, allocations: 12.03 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.3129, allocations: 88.12 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3131, allocations: 239.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.3133, allocations: 154.9 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.3133, allocations: 158.9 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.3134, allocations: 106.9 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3134, allocations: 75.47 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.023e-05/0.3135, allocations: 154.5 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.3136, allocations: 150.6 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.3136, allocations: 154.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.3139, allocations: 449.9 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.314, allocations: 177.1 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.3141, allocations: 84.12 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3141, allocations: 75.28 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.3142, allocations: 109.8 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3142, allocations: 0 / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.03e-05/0.3143, allocations: 33.64 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3143, allocations: 130.6 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3144, allocations: 109.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3145, allocations: 25.7 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.3145, allocations: 88.12 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.3145, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3146, allocations: 21.62 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3147, allocations: 318.9 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.3147, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.3148, allocations: 15.98 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.3148, allocations: 12.86 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3148, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.3149, allocations: 41.69 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3149, allocations: 12.06 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.315, allocations: 3.938 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.315, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.315, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.315, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/0.3151, allocations: 7.938 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3151, allocations: 3.984 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001107/0.3152, allocations: 189.1 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.3153, allocations: 105 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.3154, allocations: 112.4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.37e-05/0.3155, allocations: 184.2 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/0.3156, allocations: 176.3 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.405e-05/0.3156, allocations: 184.2 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.3159, allocations: 405.2 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.3159, allocations: 105.2 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.316, allocations: 109.1 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.825e-05/0.3161, allocations: 180.3 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.3162, allocations: 192.1 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.819e-05/0.3163, allocations: 180.2 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001451/0.3164, allocations: 184.2 kB / 1.095 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.3166, allocations: 299.8 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.3167, allocations: 193.9 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.3168, allocations: 184.2 kB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3169, allocations: 104.9 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.317, allocations: 188.3 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.3171, allocations: 104.9 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.3171, allocations: 87.2 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3171, allocations: 0 / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002488/0.3174, allocations: 4 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002881/0.3177, allocations: 201.3 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.558e-05/0.3178, allocations: 12 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3178, allocations: 0 / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3178, allocations: 0 / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3181, allocations: 457.7 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.3184, allocations: 172.9 kB / 1.097 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3187, allocations: 0.6768 MB / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.3187, allocations: 0 / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.3187, allocations: 7.438 kB / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3187, allocations: 0 / 1.098 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of Templates: time 0.002592/0.3213, allocations: 425.1 kB / 1.098 GB, free: 6.125 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches