Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_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.001794/0.001794, allocations: 112.5 kB / 15.73 MB, free: 76 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.00224/0.00224, allocations: 190.8 kB / 16.66 MB, free: 6.582 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 472.6 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.84 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 159.9 MB / 1.226 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002491/0.3143, allocations: 1.26 MB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3155, allocations: 0.7348 MB / 1.228 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.3156, allocations: 4 kB / 1.228 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.3156, allocations: 0 / 1.228 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.3159, allocations: 7.938 kB / 1.228 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3161, allocations: 51.92 kB / 1.228 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.413e-05/0.3162, allocations: 23.91 kB / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3163, allocations: 0 / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.3163, allocations: 15.98 kB / 1.228 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3165, allocations: 7.938 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3165, allocations: 4 kB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.3166, allocations: 11.92 kB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.3166, allocations: 7.984 kB / 1.228 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.3167, allocations: 7.938 kB / 1.228 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3168, allocations: 27.97 kB / 1.228 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3168, allocations: 0 / 1.228 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3168, allocations: 0 / 1.228 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5e-06/0.3168, allocations: 3.938 kB / 1.228 GB, free: 7.051 MB / 0.9825 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.0003351/0.3171, allocations: 331.4 kB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3172, allocations: 12.03 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.3172, allocations: 84.17 kB / 1.228 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3174, allocations: 235.7 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/0.3175, allocations: 158.9 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.3175, allocations: 154.9 kB / 1.229 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.698e-05/0.3176, allocations: 105.5 kB / 1.229 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3176, allocations: 75.47 kB / 1.229 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-05/0.3177, allocations: 162.5 kB / 1.229 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.745e-05/0.3178, allocations: 154.6 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.3178, allocations: 154.6 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.3181, allocations: 449.9 kB / 1.23 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.3182, allocations: 173.1 kB / 1.23 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.3182, allocations: 80.14 kB / 1.23 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3183, allocations: 79.28 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.3183, allocations: 105.8 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3183, allocations: 0 / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.022e-05/0.3184, allocations: 37.58 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.3185, allocations: 126.7 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3186, allocations: 105.8 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3187, allocations: 29.7 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.3187, allocations: 88.12 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.3187, allocations: 0 / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.3188, allocations: 25.59 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3189, allocations: 314.8 kB / 1.231 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.3189, allocations: 0 / 1.231 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.3189, allocations: 15.98 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.319, allocations: 16.95 kB / 1.231 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.319, allocations: 0 / 1.231 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.3191, allocations: 41.69 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3191, allocations: 6.031 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3191, allocations: 3.938 kB / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3191, allocations: 0 / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-06/0.3192, allocations: 0 / 1.231 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3192, allocations: 7.922 kB / 1.231 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3193, allocations: 7.938 kB / 1.231 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3193, allocations: 3.984 kB / 1.231 GB, free: 3.539 MB / 0.9825 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.0001184/0.3194, allocations: 193.7 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.3195, allocations: 101 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.3196, allocations: 108.5 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.66e-05/0.3197, allocations: 184.2 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.972e-05/0.3198, allocations: 180.3 kB / 1.232 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-05/0.3198, allocations: 192.2 kB / 1.232 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3201, allocations: 401.5 kB / 1.232 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.3202, allocations: 101 kB / 1.232 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.3202, allocations: 112.9 kB / 1.232 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.098e-05/0.3203, allocations: 180.3 kB / 1.233 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/0.3204, allocations: 184.1 kB / 1.233 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.152e-05/0.3205, allocations: 184.3 kB / 1.233 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.357e-05/0.3205, allocations: 180.2 kB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.3207, allocations: 303.8 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.3208, allocations: 190 kB / 1.234 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.3209, allocations: 188.2 kB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.3209, allocations: 101 kB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.321, allocations: 188.2 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.3211, allocations: 101 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.909e-05/0.3211, allocations: 83.27 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3211, allocations: 0 / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002407/0.3214, allocations: 7.938 kB / 1.234 GB, free: 15.92 MB / 0.9981 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.000406/0.3218, allocations: 192.6 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.3219, allocations: 11.94 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3219, allocations: 0 / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.3219, allocations: 4 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3224, allocations: 457.3 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.3228, allocations: 180.6 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3231, allocations: 0.6768 MB / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.3232, allocations: 0 / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.3232, allocations: 11.38 kB / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3232, allocations: 0 / 1.236 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.003115/0.3263, allocations: 439.4 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches