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.001142/0.001142, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 197 kB / 16.79 MB, free: 6.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.82/2.82, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.56 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3665, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.003065/0.3696, allocations: 1.333 MB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.371, allocations: 0.719 MB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.3711, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.3712, allocations: 0 / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.3714, allocations: 15.92 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.3717, allocations: 43.92 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.7e-05/0.3718, allocations: 27.92 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.3719, allocations: 4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.3719, allocations: 11.98 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3721, allocations: 21.47 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3722, allocations: 0 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.3723, allocations: 11.98 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.3723, allocations: 3.984 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.3724, allocations: 11.94 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3725, allocations: 11.98 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3725, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3725, allocations: 0 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3725, allocations: 3.938 kB / 1.055 GB, free: 6.098 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.000508/0.3731, allocations: 327.7 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.3731, allocations: 19.97 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.3732, allocations: 88.06 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3734, allocations: 239.7 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.3735, allocations: 154.9 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.3736, allocations: 150.9 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.3737, allocations: 101.5 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.3738, allocations: 79.47 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.3738, allocations: 154.5 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.3739, allocations: 150.6 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.374, allocations: 158.5 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.3744, allocations: 449.9 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.583e-05/0.3745, allocations: 177.1 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.3745, allocations: 80.14 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.3746, allocations: 75.28 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.3747, allocations: 105.8 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3747, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/0.3748, allocations: 45.62 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.3748, allocations: 130.7 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.375, allocations: 101.9 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.375, allocations: 29.64 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3751, allocations: 88.12 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.3751, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3751, allocations: 13.72 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3752, allocations: 314.8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.3753, allocations: 7.984 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.3753, allocations: 12 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.3753, allocations: 12.86 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3753, allocations: 7.922 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.3755, allocations: 41.61 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3755, allocations: 4 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3755, allocations: 3.938 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3755, allocations: 128 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.3755, allocations: 4 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3755, allocations: 0 / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.3757, allocations: 7.984 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3757, allocations: 256 / 1.058 GB, free: 2.594 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.0001143/0.3758, allocations: 189.1 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.3759, allocations: 104.9 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.3759, allocations: 112.4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-05/0.376, allocations: 188.3 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-05/0.3761, allocations: 184.1 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/0.3761, allocations: 176.4 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3764, allocations: 413.2 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/0.3764, allocations: 101 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.3765, allocations: 105 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.3765, allocations: 188.2 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.3766, allocations: 184.2 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.402e-05/0.3767, allocations: 180.2 kB / 1.06 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-05/0.3767, allocations: 176.3 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3769, allocations: 307.8 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.377, allocations: 190.1 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.3771, allocations: 184.1 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.3772, allocations: 101 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.3772, allocations: 184.2 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.3773, allocations: 116.9 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.3773, allocations: 83.22 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3773, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002418/0.3776, allocations: 4 kB / 1.061 GB, free: 14.97 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.0003351/0.3779, allocations: 190.5 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.579e-05/0.378, allocations: 15.98 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.378, allocations: 4 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.3781, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3784, allocations: 0.5185 MB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3787, allocations: 200.3 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.379, allocations: 0.6809 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.379, allocations: 7.438 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.379, allocations: 0 / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.00204/0.3811, allocations: 0.5181 MB / 1.063 GB, free: 12.78 MB / 0.8262 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 -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