Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_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_latest_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.001572/0.001572, allocations: 106.1 kB / 15.98 MB, free: 6.285 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.001921/0.001921, allocations: 200.9 kB / 16.91 MB, free: 6.141 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 66 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3157, allocations: 159.1 MB / 1.064 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00259/0.3184, allocations: 1.297 MB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3196, allocations: 0.7073 MB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.3196, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3197, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.3199, allocations: 15.97 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.925e-05/0.32, allocations: 3.938 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.3201, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.3201, allocations: 4 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.3202, allocations: 3.984 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3203, allocations: 7.984 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3204, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.3204, allocations: 12 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3205, allocations: 3.984 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.3205, allocations: 3.938 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.681e-05/0.3206, allocations: 15.92 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3206, allocations: 4 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3206, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3206, allocations: 0 / 1.066 GB, free: 13.26 MB / 0.8419 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.0002944/0.3209, allocations: 315.6 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3209, allocations: 8.625 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.321, allocations: 80.22 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3212, allocations: 239.7 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.3212, allocations: 154.9 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.3213, allocations: 150.9 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.458e-05/0.3213, allocations: 101.5 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.3214, allocations: 75.47 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.3214, allocations: 162.5 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.3215, allocations: 150.6 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.3216, allocations: 162.5 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3218, allocations: 441.9 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.3219, allocations: 177.1 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.3219, allocations: 80.14 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.322, allocations: 75.28 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.322, allocations: 109.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.322, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.623e-05/0.3221, allocations: 29.64 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.3222, allocations: 134.7 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.3223, allocations: 97.86 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3223, allocations: 29.7 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.3223, allocations: 80.14 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/0.3223, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.3224, allocations: 13.66 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3225, allocations: 310.8 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-06/0.3225, allocations: 8.125 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.3225, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.3225, allocations: 79.27 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/0.3226, allocations: 79.22 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.776e-05/0.3226, allocations: 29.7 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.3227, allocations: 79.28 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.3227, allocations: 91.25 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/0.3228, allocations: 162.5 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.3228, allocations: 75.28 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.196e-05/0.3229, allocations: 154.6 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.323, allocations: 79.28 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.323, allocations: 83.3 kB / 1.07 GB, free: 9.004 MB / 0.8419 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.0001023/0.3231, allocations: 260.7 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.3232, allocations: 112.9 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.3232, allocations: 108 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.398e-05/0.3233, allocations: 184.2 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.518e-05/0.3234, allocations: 176.3 kB / 1.07 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.408e-05/0.3234, allocations: 180.3 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3236, allocations: 409.2 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.3237, allocations: 101 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.3237, allocations: 104.9 kB / 1.071 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.095e-05/0.3238, allocations: 184.2 kB / 1.071 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.3238, allocations: 180.2 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.638e-05/0.3239, allocations: 188.2 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.393e-05/0.324, allocations: 184.2 kB / 1.072 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3241, allocations: 303.7 kB / 1.072 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.3242, allocations: 186.1 kB / 1.072 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.3242, allocations: 188.1 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.3243, allocations: 105 kB / 1.073 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.3244, allocations: 180.2 kB / 1.073 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.3244, allocations: 109 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.3245, allocations: 75.28 kB / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3245, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002598/0.3247, allocations: 4 kB / 1.073 GB, free: 5.332 MB / 0.8419 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.0003242/0.3251, allocations: 202.5 kB / 1.073 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.098e-05/0.3251, allocations: 7.938 kB / 1.073 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3251, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3251, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3255, allocations: 451.7 kB / 1.074 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.3258, allocations: 186.6 kB / 1.074 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.326, allocations: 0.6768 MB / 1.075 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.326, allocations: 7.438 kB / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.326, allocations: 0 / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of Templates: time 0.001794/0.3278, allocations: 483.1 kB / 1.075 GB, free: 3.277 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches