Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001299/0.001299, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001232/0.001232, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9586, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002254/0.9609, allocations: 1.266 MB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.9619, allocations: 0.7319 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.962, allocations: 1.062 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.962, allocations: 4.453 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.9622, allocations: 17.06 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.9625, allocations: 52.5 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.9625, allocations: 23.27 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.9626, allocations: 2.156 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.9627, allocations: 18.16 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.9628, allocations: 10.23 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.9628, allocations: 1.094 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.604e-05/0.9629, allocations: 9.203 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.9629, allocations: 5.141 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.963, allocations: 11.83 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.634e-05/0.9631, allocations: 21.98 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.9631, allocations: 4.797 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9631, allocations: 1.062 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.9631, allocations: 0 / 1.091 GB, free: 4.047 MB / 0.8575 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.0002662/0.9634, allocations: 327.7 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.9634, allocations: 9.875 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.9635, allocations: 81.22 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.9636, allocations: 243.3 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.9636, allocations: 158.9 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.9636, allocations: 157.1 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.175e-05/0.9637, allocations: 106.2 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.9637, allocations: 76.47 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.9637, allocations: 155.1 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.9638, allocations: 150.6 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.9638, allocations: 155.6 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.964, allocations: 450.1 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.514e-05/0.964, allocations: 170 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.9641, allocations: 80.94 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.9641, allocations: 80.41 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.9641, allocations: 109.8 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.9641, allocations: 1.156 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.081e-05/0.9642, allocations: 35.47 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.9642, allocations: 128.5 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.9643, allocations: 105.2 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.9643, allocations: 26.5 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.9644, allocations: 85.27 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.9644, allocations: 0 / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.9644, allocations: 24.94 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.9645, allocations: 316.4 kB / 1.094 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.9645, allocations: 7.531 kB / 1.094 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.9646, allocations: 8.891 kB / 1.094 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.9646, allocations: 18.66 kB / 1.094 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9646, allocations: 96 / 1.094 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.9647, allocations: 46.06 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.9648, allocations: 5.453 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.9648, allocations: 4.562 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9648, allocations: 0.5156 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.9648, allocations: 0.9375 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9648, allocations: 0.5156 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.9649, allocations: 2.469 kB / 1.094 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.9649, allocations: 2.891 kB / 1.094 GB, free: 16.67 MB / 0.8731 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 9.908e-05/0.965, allocations: 188.5 kB / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.9651, allocations: 102.9 kB / 1.094 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.9652, allocations: 119 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/0.9653, allocations: 182.3 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001156/0.9654, allocations: 182.1 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/0.9654, allocations: 177 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.9657, allocations: 407.8 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.9658, allocations: 107 kB / 1.095 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.9659, allocations: 102.7 kB / 1.095 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.09e-05/0.9659, allocations: 180.7 kB / 1.096 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/0.966, allocations: 182.3 kB / 1.096 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.567e-05/0.9661, allocations: 186.1 kB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.076e-05/0.9662, allocations: 186.3 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.9663, allocations: 306 kB / 1.096 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.9664, allocations: 188.5 kB / 1.097 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.9665, allocations: 183.6 kB / 1.097 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.9666, allocations: 111.1 kB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.9666, allocations: 177 kB / 1.097 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.9667, allocations: 111.2 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.9667, allocations: 85.22 kB / 1.097 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9667, allocations: 1.219 kB / 1.097 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002622/0.967, allocations: 5.922 kB / 1.097 GB, free: 13.1 MB / 0.8731 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.000299/0.9673, allocations: 198.1 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.886e-05/0.9674, allocations: 6.953 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9674, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.9674, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.9678, allocations: 466.9 kB / 1.098 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.968, allocations: 192.1 kB / 1.098 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.9683, allocations: 0.6788 MB / 1.099 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.9683, allocations: 8.562 kB / 1.099 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9683, allocations: 0 / 1.099 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.002101/0.9704, allocations: 0.5096 MB / 1.099 GB, free: 11.54 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches