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.001404/0.001405, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001484/0.001484, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.14 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.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8756, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002268/0.8779, allocations: 1.268 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.8789, allocations: 0.7413 MB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.879, allocations: 0 / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.879, allocations: 2.016 kB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.8792, allocations: 12.02 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.8794, allocations: 51.94 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.8795, allocations: 22.84 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.8796, allocations: 2.172 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.8796, allocations: 18.06 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.8798, allocations: 10.41 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.8798, allocations: 0.8438 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.415e-05/0.8798, allocations: 10.14 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.8799, allocations: 4.438 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.8799, allocations: 7.797 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.88, allocations: 31.27 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8801, allocations: 0 / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8801, allocations: 0 / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.8801, allocations: 5 kB / 1.091 GB, free: 4.012 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.0002755/0.8804, allocations: 323.5 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8804, allocations: 10.14 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.8805, allocations: 81.16 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.8805, allocations: 243.1 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.8806, allocations: 154.9 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.8806, allocations: 157.3 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.27e-05/0.8807, allocations: 102.6 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.8807, allocations: 76.17 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.8807, allocations: 154.5 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.8807, allocations: 151.6 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.8808, allocations: 155.3 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.881, allocations: 457.7 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.881, allocations: 170.2 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.881, allocations: 80.7 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.881, allocations: 75.28 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8811, allocations: 111.5 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.8811, allocations: 0 / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.715e-05/0.8811, allocations: 36.47 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.8812, allocations: 127.2 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.8813, allocations: 105.7 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.8813, allocations: 26.36 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.8813, allocations: 89.5 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.8813, allocations: 7.938 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.8814, allocations: 22.08 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.8815, allocations: 315.4 kB / 1.094 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.8815, allocations: 3.609 kB / 1.094 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.8815, allocations: 12.92 kB / 1.094 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.8816, allocations: 14.92 kB / 1.094 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8816, allocations: 0 / 1.094 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.8817, allocations: 41.67 kB / 1.094 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8817, allocations: 13.7 kB / 1.094 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8817, allocations: 4.188 kB / 1.094 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.8817, allocations: 0 / 1.094 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.975e-06/0.8817, allocations: 5.859 kB / 1.094 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.8818, allocations: 0 / 1.094 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.8818, allocations: 2.609 kB / 1.094 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.8819, allocations: 2.078 kB / 1.094 GB, free: 16.63 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.781e-05/0.882, allocations: 187.6 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.882, allocations: 107.4 kB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.8821, allocations: 114.8 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/0.8822, allocations: 182.1 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.557e-05/0.8822, allocations: 182 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.318e-05/0.8823, allocations: 178.2 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.8825, allocations: 407.7 kB / 1.095 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-05/0.8826, allocations: 106.7 kB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.8826, allocations: 102.6 kB / 1.095 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-05/0.8827, allocations: 186.3 kB / 1.096 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.8828, allocations: 182.1 kB / 1.096 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.013e-05/0.8828, allocations: 177.9 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.757e-05/0.8829, allocations: 186.1 kB / 1.096 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.883, allocations: 309.1 kB / 1.096 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.8831, allocations: 185.7 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.8832, allocations: 182.2 kB / 1.097 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.8833, allocations: 110.4 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.8834, allocations: 177.8 kB / 1.097 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.8834, allocations: 110.8 kB / 1.097 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.8835, allocations: 86.75 kB / 1.097 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8835, allocations: 0 / 1.097 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000247/0.8837, allocations: 6.281 kB / 1.097 GB, free: 13.07 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.000316/0.8841, allocations: 190.6 kB / 1.097 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.404e-05/0.8842, allocations: 6.156 kB / 1.097 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8842, allocations: 1 kB / 1.097 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.8842, allocations: 0 / 1.097 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.8846, allocations: 462.4 kB / 1.098 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.8848, allocations: 200.1 kB / 1.098 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.8851, allocations: 0.6752 MB / 1.099 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.8851, allocations: 8.469 kB / 1.099 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8851, allocations: 0 / 1.099 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.002085/0.8872, allocations: 0.517 MB / 1.099 GB, free: 11.51 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