Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001532/0.001532, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 64.25 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3291, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002554/0.3317, allocations: 1.233 MB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3328, allocations: 0.7231 MB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.3329, allocations: 0 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.3329, allocations: 0 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.3332, allocations: 15.92 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.826e-05/0.3332, allocations: 4 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.3333, allocations: 11.98 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3334, allocations: 0 / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.3334, allocations: 4 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3336, allocations: 18.66 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3336, allocations: 0 / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.424e-05/0.3337, allocations: 7.984 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.3337, allocations: 0 / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.3338, allocations: 7.938 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.3338, allocations: 11.98 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3339, allocations: 4 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3339, allocations: 0 / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3339, allocations: 0 / 1.02 GB, free: 8.551 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003459/0.3342, allocations: 315.5 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3343, allocations: 12.92 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.3344, allocations: 80.2 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3345, allocations: 239.7 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.3346, allocations: 154.9 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.3347, allocations: 158.9 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.393e-05/0.3348, allocations: 107 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.3348, allocations: 79.47 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.3349, allocations: 154.5 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.335, allocations: 150.6 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.3351, allocations: 154.6 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.3354, allocations: 449.9 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.3355, allocations: 169.1 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.3355, allocations: 80.14 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.3356, allocations: 79.28 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.3357, allocations: 109.8 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3357, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.038e-05/0.3357, allocations: 33.69 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.3358, allocations: 134.6 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3359, allocations: 101.8 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.336, allocations: 33.77 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.336, allocations: 80.14 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.336, allocations: 0 / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3361, allocations: 13.72 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3362, allocations: 310.8 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-06/0.3362, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.3362, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.3363, allocations: 79.28 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.202e-05/0.3363, allocations: 83.31 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.184e-05/0.3364, allocations: 29.69 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.3364, allocations: 83.28 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/0.3364, allocations: 83.16 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.729e-05/0.3365, allocations: 150.6 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.179e-05/0.3366, allocations: 79.22 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-05/0.3366, allocations: 150.6 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3368, allocations: 83.28 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3368, allocations: 83.2 kB / 1.024 GB, free: 4.293 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001453/0.337, allocations: 264.7 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.337, allocations: 101 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.3371, allocations: 112.2 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.389e-05/0.3372, allocations: 180.3 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.421e-05/0.3373, allocations: 188.3 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.3374, allocations: 184.2 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3376, allocations: 393.2 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/0.3377, allocations: 112.9 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.3377, allocations: 105 kB / 1.025 GB, free: 2.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-05/0.3378, allocations: 180.3 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.3379, allocations: 192.1 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-05/0.338, allocations: 184.3 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.799e-05/0.3381, allocations: 180.2 kB / 1.026 GB, free: 1.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3382, allocations: 307.8 kB / 1.026 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.3383, allocations: 182 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.3384, allocations: 184.2 kB / 1.027 GB, free: 1.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.3385, allocations: 108.9 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.3386, allocations: 176.3 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.3386, allocations: 101 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.3387, allocations: 95.16 kB / 1.027 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3387, allocations: 0 / 1.027 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002492/0.339, allocations: 0 / 1.027 GB, free: 0.6133 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: 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.0003256/0.3393, allocations: 195.2 kB / 1.027 GB, free: 424 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.976e-05/0.3394, allocations: 0 / 1.027 GB, free: 424 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3394, allocations: 4.094 kB / 1.027 GB, free: 420 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.3394, allocations: 0 / 1.027 GB, free: 420 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.3398, allocations: 460.9 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.3401, allocations: 190.5 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3404, allocations: 0.6767 MB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.3404, allocations: 11.44 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3404, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.002137/0.3425, allocations: 477.7 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches