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.001293/0.001293, allocations: 110 kB / 15.99 MB, free: 6.344 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.00128/0.00128, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.161/2.161, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.98 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2657, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00268/0.2684, allocations: 1.325 MB / 0.9511 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2696, allocations: 0.7172 MB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.2696, allocations: 0 / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.2696, allocations: 3.938 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.2699, allocations: 15.92 kB / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2701, allocations: 43.94 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.2702, allocations: 19.92 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.2702, allocations: 0 / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.2703, allocations: 19.97 kB / 0.9519 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2704, allocations: 11.94 kB / 0.9519 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2704, allocations: 3.938 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.2705, allocations: 11.98 kB / 0.9519 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.2705, allocations: 3.984 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.2705, allocations: 7.938 kB / 0.9519 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.988e-05/0.2706, allocations: 23.97 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2706, allocations: 0 / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2706, allocations: 0 / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.2707, allocations: 0 / 0.9519 GB, free: 7.02 MB / 0.7325 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.0003107/0.271, allocations: 323.7 kB / 0.9522 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.271, allocations: 16.03 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.2711, allocations: 76.22 kB / 0.9523 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2712, allocations: 247.6 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.2713, allocations: 150.9 kB / 0.9527 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.2714, allocations: 150.9 kB / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.903e-05/0.2714, allocations: 109.5 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.2715, allocations: 79.47 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.2715, allocations: 154.5 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.842e-05/0.2716, allocations: 154.6 kB / 0.9533 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.2717, allocations: 150.6 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.272, allocations: 449.9 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.2721, allocations: 177.1 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.2721, allocations: 80.14 kB / 0.9541 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.2721, allocations: 75.28 kB / 0.9542 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.2722, allocations: 105.8 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2722, allocations: 0 / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.248e-05/0.2723, allocations: 37.64 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.2723, allocations: 130.6 kB / 0.9545 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2725, allocations: 105.8 kB / 0.9546 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2725, allocations: 25.7 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.2725, allocations: 84.12 kB / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.2725, allocations: 0 / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.2726, allocations: 29.7 kB / 0.9547 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2727, allocations: 310.8 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.2727, allocations: 8 kB / 0.955 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.2728, allocations: 7.984 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.2728, allocations: 16.86 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2728, allocations: 0 / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.2729, allocations: 45.62 kB / 0.9551 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.273, allocations: 4 kB / 0.9551 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.273, allocations: 3.938 kB / 0.9551 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.273, allocations: 3.984 kB / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.205e-06/0.273, allocations: 4.125 kB / 0.9551 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.273, allocations: 7.938 kB / 0.9551 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.2731, allocations: 3.906 kB / 0.9551 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2731, allocations: 3.984 kB / 0.9551 GB, free: 3.52 MB / 0.7325 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.0001336/0.2733, allocations: 185.1 kB / 0.9553 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.2733, allocations: 105 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.2734, allocations: 116.2 kB / 0.9555 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.887e-05/0.2735, allocations: 184.2 kB / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-05/0.2735, allocations: 180.5 kB / 0.9558 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/0.2736, allocations: 180.3 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2738, allocations: 413.2 kB / 0.9564 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.2738, allocations: 101 kB / 0.9565 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.2739, allocations: 112.9 kB / 0.9566 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.869e-05/0.2739, allocations: 176.3 kB / 0.9568 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.274, allocations: 188.1 kB / 0.957 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.096e-05/0.2741, allocations: 176.3 kB / 0.9571 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.059e-05/0.2741, allocations: 188.2 kB / 0.9573 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2743, allocations: 303.8 kB / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.2744, allocations: 182 kB / 0.9578 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.2744, allocations: 188.2 kB / 0.958 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.2745, allocations: 108.9 kB / 0.9581 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.2746, allocations: 176.3 kB / 0.9582 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.2746, allocations: 105 kB / 0.9583 GB, free: 16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.2747, allocations: 87.27 kB / 0.9584 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.2747, allocations: 0 / 0.9584 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000244/0.2749, allocations: 8 kB / 0.9584 GB, free: 15.9 MB / 0.7481 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.0002849/0.2752, allocations: 200.8 kB / 0.9586 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.931e-05/0.2753, allocations: 12 kB / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2753, allocations: 0 / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.2753, allocations: 0 / 0.9586 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.2757, allocations: 456.8 kB / 0.9591 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.276, allocations: 198.4 kB / 0.9592 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.2763, allocations: 0.6845 MB / 0.9599 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.2764, allocations: 7.438 kB / 0.9599 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.2764, allocations: 0 / 0.9599 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.001756/0.2781, allocations: 0.5202 MB / 0.9604 GB, free: 13.78 MB / 0.7481 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