Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.001199, allocations: 109.2 kB / 16.37 MB, free: 6.477 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.001102/0.001103, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 73.27 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3941, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.003082/0.3973, allocations: 1.276 MB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3985, allocations: 0.7294 MB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.3986, allocations: 0 / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.3986, allocations: 7.922 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.3989, allocations: 19.92 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.3991, allocations: 49.98 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3992, allocations: 24.03 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3993, allocations: 7.938 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.3993, allocations: 15.81 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3995, allocations: 7.984 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3995, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.051e-05/0.3996, allocations: 11.92 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.3996, allocations: 11.94 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.3997, allocations: 4 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.3998, allocations: 27.89 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3998, allocations: 4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3998, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3998, allocations: 0 / 1.029 GB, free: 15.89 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.0003243/0.4001, allocations: 331.5 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.4002, allocations: 8.031 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.4002, allocations: 84.12 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4004, allocations: 235.7 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.4005, allocations: 150.9 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.4005, allocations: 150.9 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.739e-05/0.4006, allocations: 109.5 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.4007, allocations: 79.47 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/0.4007, allocations: 158.4 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.4008, allocations: 150.6 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.4008, allocations: 154.5 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.4012, allocations: 454 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4013, allocations: 169.1 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.4013, allocations: 80.14 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.4014, allocations: 83.2 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.4014, allocations: 117.8 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4014, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.551e-05/0.4015, allocations: 29.64 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.4016, allocations: 126.7 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4017, allocations: 109.8 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.4018, allocations: 25.7 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.4018, allocations: 84.14 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.4018, allocations: 3.938 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.4019, allocations: 25.69 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.402, allocations: 314.8 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.402, allocations: 4 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.4021, allocations: 15.92 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.4021, allocations: 12.86 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4021, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.4022, allocations: 45.59 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4023, allocations: 8 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4023, allocations: 12 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4023, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.4023, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4023, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4024, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4025, allocations: 4 kB / 1.032 GB, free: 12.38 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.0001077/0.4026, allocations: 189 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.4026, allocations: 108.9 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.4027, allocations: 112.5 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/0.4028, allocations: 184.2 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.183e-05/0.4029, allocations: 180.3 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.42e-05/0.4029, allocations: 180.2 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.4032, allocations: 405.2 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.4032, allocations: 109 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.4033, allocations: 104.9 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.796e-05/0.4033, allocations: 176.4 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.4034, allocations: 188.2 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.305e-05/0.4035, allocations: 180.2 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.311e-05/0.4036, allocations: 188.3 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4037, allocations: 307.8 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.4038, allocations: 185.9 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/0.4039, allocations: 192.2 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.404, allocations: 101 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.4041, allocations: 184.2 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.4041, allocations: 105 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.4042, allocations: 91.52 kB / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4042, allocations: 0 / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002333/0.4044, allocations: 7.938 kB / 1.035 GB, free: 8.754 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.0002652/0.4047, allocations: 194.7 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.013e-05/0.4048, allocations: 7.938 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4048, allocations: 0 / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.4048, allocations: 4 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4052, allocations: 453.1 kB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.4055, allocations: 173 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4057, allocations: 0.6729 MB / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.4058, allocations: 4 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.4058, allocations: 11.38 kB / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.4058, allocations: 0 / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of Templates: time 0.002538/0.4083, allocations: 440.2 kB / 1.037 GB, free: 6.797 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches