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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001217/0.001217, allocations: 116.6 kB / 16.37 MB, free: 6 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.001113/0.001113, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.598/2.598, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.66 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002433/0.3691, allocations: 1.256 MB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3702, allocations: 0.7411 MB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.3702, allocations: 3.938 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.3703, allocations: 4 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.3705, allocations: 11.94 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3708, allocations: 51.94 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.004e-05/0.3708, allocations: 23.77 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.3709, allocations: 4 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.3709, allocations: 8 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3711, allocations: 15.97 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3711, allocations: 0 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.3712, allocations: 11.94 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.3712, allocations: 11.92 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.3713, allocations: 7.984 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.449e-05/0.3714, allocations: 23.92 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3714, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3714, allocations: 0 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3714, allocations: 0 / 1.029 GB, free: 15.87 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.0003332/0.3717, allocations: 331.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3718, allocations: 8.031 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.3719, allocations: 80.12 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.372, allocations: 247.7 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.3721, allocations: 150.9 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.3722, allocations: 150.9 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.346e-05/0.3722, allocations: 101.5 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.3723, allocations: 79.41 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.3723, allocations: 166.5 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.3724, allocations: 150.6 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.3725, allocations: 150.6 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.3728, allocations: 450 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.3729, allocations: 177.1 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.3729, allocations: 88.02 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.373, allocations: 75.28 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.373, allocations: 105.8 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.373, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.848e-05/0.3731, allocations: 29.64 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.3732, allocations: 134.6 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3733, allocations: 109.8 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3733, allocations: 25.7 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.3734, allocations: 84.14 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3734, allocations: 4 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3734, allocations: 17.7 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3736, allocations: 310.8 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.3736, allocations: 7.938 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.3736, allocations: 15.98 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.3737, allocations: 12.86 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3737, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.3738, allocations: 45.59 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3738, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3738, allocations: 3.938 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3738, allocations: 4 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3738, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3739, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.3739, allocations: 4.125 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.374, allocations: 3.984 kB / 1.032 GB, free: 12.37 MB / 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.0001075/0.3741, allocations: 197 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.3741, allocations: 101 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.3742, allocations: 112.5 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/0.3743, allocations: 180.2 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.79e-05/0.3743, allocations: 180.3 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-05/0.3744, allocations: 184.2 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3747, allocations: 401.2 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/0.3747, allocations: 109 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.3747, allocations: 104.9 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.933e-05/0.3748, allocations: 184.4 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.3749, allocations: 188.2 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/0.375, allocations: 180.3 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.831e-05/0.375, allocations: 180.3 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3752, allocations: 307.8 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.3753, allocations: 189.9 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.3754, allocations: 184.2 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.3755, allocations: 105 kB / 1.035 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.3755, allocations: 184.1 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.3756, allocations: 105.2 kB / 1.035 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.3756, allocations: 95.27 kB / 1.035 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3756, allocations: 4 kB / 1.035 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002177/0.3759, allocations: 0 / 1.035 GB, free: 8.746 MB / 0.8106 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.0002776/0.3761, allocations: 197.9 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.3762, allocations: 7.938 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3762, allocations: 0 / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3762, allocations: 64 / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3766, allocations: 459.7 kB / 1.036 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.3769, allocations: 164.9 kB / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3771, allocations: 0.6768 MB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.3772, allocations: 0 / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.3772, allocations: 7.438 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3772, allocations: 4 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of Templates: time 0.002668/0.3799, allocations: 441.2 kB / 1.037 GB, free: 6.762 MB / 0.8106 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 -s cvode -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/jenkins1/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