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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009402/0.00094, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001208/0.001209, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.612/2.612, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003526, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7752, allocations: 142.4 MB / 0.9544 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001068/0.7764, allocations: 0.9855 MB / 0.9554 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.7774, allocations: 0.6969 MB / 0.9561 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.7775, allocations: 0 / 0.9561 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.7775, allocations: 5.094 kB / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.7777, allocations: 2 kB / 0.9561 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.7779, allocations: 51.12 kB / 0.9561 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.778, allocations: 22 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.7781, allocations: 8.922 kB / 0.9562 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.7781, allocations: 10.88 kB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.7783, allocations: 13.23 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.7783, allocations: 0.9688 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-05/0.7783, allocations: 2.656 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.7784, allocations: 7.047 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.7784, allocations: 30.77 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.183e-05/0.7785, allocations: 11.05 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7785, allocations: 0 / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7785, allocations: 0 / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.7785, allocations: 8.875 kB / 0.9563 GB, free: 6.191 MB / 0.7169 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.0002684/0.7788, allocations: 322.2 kB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.7789, allocations: 9.438 kB / 0.9566 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.7789, allocations: 80.33 kB / 0.9566 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.7791, allocations: 243.6 kB / 0.9569 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.7791, allocations: 151.6 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.7792, allocations: 159.7 kB / 0.9572 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.7792, allocations: 105.9 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.7792, allocations: 79.28 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.7793, allocations: 151.5 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.7793, allocations: 150.6 kB / 0.9576 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.7794, allocations: 155.6 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.7796, allocations: 453.5 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.804e-05/0.7797, allocations: 174.4 kB / 0.9584 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.7797, allocations: 80.14 kB / 0.9585 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.7797, allocations: 79.27 kB / 0.9585 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.7798, allocations: 110.9 kB / 0.9586 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7798, allocations: 0 / 0.9586 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.185e-05/0.7799, allocations: 31.7 kB / 0.9587 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.7799, allocations: 131.6 kB / 0.9588 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.78, allocations: 105.6 kB / 0.9589 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.78, allocations: 25.7 kB / 0.9589 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.7801, allocations: 81.11 kB / 0.959 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.7801, allocations: 0.9688 kB / 0.959 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.7801, allocations: 4 kB / 0.959 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.7802, allocations: 319.7 kB / 0.9593 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.7802, allocations: 3.406 kB / 0.9593 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.7802, allocations: 10.45 kB / 0.9593 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.7802, allocations: 7.562 kB / 0.9593 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7803, allocations: 0 / 0.9593 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.7804, allocations: 48.33 kB / 0.9594 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7804, allocations: 5.156 kB / 0.9594 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7804, allocations: 4.125 kB / 0.9594 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7804, allocations: 1.312 kB / 0.9594 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-06/0.7804, allocations: 0 / 0.9594 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7804, allocations: 7.875 kB / 0.9594 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.7806, allocations: 2 kB / 0.9594 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.7806, allocations: 1.094 kB / 0.9594 GB, free: 2.812 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.7807, allocations: 191.1 kB / 0.9596 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.7807, allocations: 103 kB / 0.9597 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.7807, allocations: 114.4 kB / 0.9598 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/0.7808, allocations: 181.3 kB / 0.96 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/0.7808, allocations: 181.2 kB / 0.9601 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/0.7808, allocations: 185.2 kB / 0.9603 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.781, allocations: 400.5 kB / 0.9607 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.781, allocations: 114.3 kB / 0.9608 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.781, allocations: 109 kB / 0.9609 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.27e-05/0.7811, allocations: 177.5 kB / 0.9611 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.7811, allocations: 181.2 kB / 0.9612 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-05/0.7811, allocations: 177.2 kB / 0.9614 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.687e-05/0.7812, allocations: 185.3 kB / 0.9616 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.7813, allocations: 316.2 kB / 0.9619 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/0.7814, allocations: 183.1 kB / 0.9621 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.7814, allocations: 182.2 kB / 0.9622 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.7815, allocations: 110.3 kB / 0.9623 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.7816, allocations: 181.2 kB / 0.9625 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.7817, allocations: 105.7 kB / 0.9626 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.7817, allocations: 84.39 kB / 0.9627 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7817, allocations: 0 / 0.9627 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000236/0.782, allocations: 4.125 kB / 0.9627 GB, free: 15.23 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002966/0.7823, allocations: 186 kB / 0.9629 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.7824, allocations: 9.594 kB / 0.9629 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7824, allocations: 0 / 0.9629 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.7824, allocations: 0 / 0.9629 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.7828, allocations: 0.5275 MB / 0.9634 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.783, allocations: 177 kB / 0.9636 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.7833, allocations: 0.6762 MB / 0.9642 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.995e-05/0.7834, allocations: 4.969 kB / 0.9642 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.7834, allocations: 8.594 kB / 0.9643 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7834, allocations: 3.938 kB / 0.9643 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.003009/0.7864, allocations: 395.1 kB / 0.9646 GB, free: 13.42 MB / 0.7325 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/jenkins/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