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 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.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.000966/0.000966, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001192/0.001193, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004791, allocations: 10.56 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3447, allocations: 159.6 MB / 1.059 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001744/0.3465, allocations: 0.9938 MB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3479, allocations: 0.719 MB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.3479, allocations: 0 / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.348, allocations: 7.922 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.3482, allocations: 11.98 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3485, allocations: 47.06 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.3486, allocations: 31.91 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3486, allocations: 0 / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.3487, allocations: 19.92 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3489, allocations: 11.92 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3489, allocations: 0 / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.349, allocations: 15.98 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.349, allocations: 7.984 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.3491, allocations: 33.64 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.167e-05/0.3492, allocations: 19.97 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3492, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3492, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3492, allocations: 0 / 1.061 GB, free: 3.605 MB / 0.8106 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.0003215/0.3495, allocations: 327.7 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3496, allocations: 15.97 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.3496, allocations: 76.22 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3498, allocations: 243.6 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.3499, allocations: 154.9 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/0.3499, allocations: 154.9 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.35, allocations: 105.5 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.3501, allocations: 75.47 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.3502, allocations: 154.5 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.3502, allocations: 158.5 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.398e-05/0.3503, allocations: 150.6 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.3507, allocations: 453.9 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.3509, allocations: 173.1 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.3509, allocations: 84.14 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.351, allocations: 75.28 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.351, allocations: 105.8 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.351, allocations: 4 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.3511, allocations: 33.64 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.3512, allocations: 130.6 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.3514, allocations: 105.8 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3514, allocations: 25.7 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.3515, allocations: 80.14 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.3515, allocations: 0 / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.3516, allocations: 17.72 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3518, allocations: 318.8 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.3518, allocations: 7.984 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.3518, allocations: 4 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.3519, allocations: 16.86 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3519, allocations: 0 / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001655/0.3521, allocations: 45.62 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3521, allocations: 4 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3521, allocations: 3.938 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.3521, allocations: 4.125 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-06/0.3521, allocations: 4.25 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3522, allocations: 0 / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3523, allocations: 7.984 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3523, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 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.0001704/0.3525, allocations: 190.6 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.3526, allocations: 108.9 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.3527, allocations: 128.4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-05/0.3528, allocations: 180.3 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.3529, allocations: 176.3 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.506e-05/0.353, allocations: 180.2 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.3533, allocations: 405.2 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.043e-05/0.3533, allocations: 104.9 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.3534, allocations: 109 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.258e-05/0.3535, allocations: 176.3 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.3536, allocations: 188.1 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.073e-05/0.3537, allocations: 180.3 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.064e-05/0.3538, allocations: 184.2 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.354, allocations: 303.8 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3541, allocations: 186.1 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.3542, allocations: 180.2 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.3543, allocations: 112.9 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.3544, allocations: 176.3 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.3544, allocations: 108.9 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.3545, allocations: 87.27 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3545, allocations: 4 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000258/0.3548, allocations: 0 / 1.067 GB, free: 12.5 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: 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.0003422/0.3551, allocations: 190.4 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.3552, allocations: 12 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3552, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.3552, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.3556, allocations: 0.5301 MB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.3559, allocations: 179.9 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3562, allocations: 0.6808 MB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.3563, allocations: 0 / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.3563, allocations: 7.438 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3563, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.003249/0.3595, allocations: 416.7 kB / 1.069 GB, free: 10.45 MB / 0.8262 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