Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 108 kB / 15.6 MB, free: 132 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.00204/0.00204, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.23 MB / 190.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.386/2.386, allocations: 390.2 MB / 0.6646 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.84 kB / 0.8125 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6439, allocations: 140.4 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001963/0.6459, allocations: 1.242 MB / 0.9508 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000871/0.6468, allocations: 0.7126 MB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.6468, allocations: 1.625 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.6469, allocations: 4 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.6471, allocations: 24.09 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.119e-05/0.6472, allocations: 5.688 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.6472, allocations: 5.438 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.6473, allocations: 1.312 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.6473, allocations: 9.266 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.6474, allocations: 8.984 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.6474, allocations: 0 / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.6475, allocations: 4.938 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.6475, allocations: 5.281 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.6475, allocations: 13.17 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.51e-05/0.6476, allocations: 9.078 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6476, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6476, allocations: 9.062 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6476, allocations: 0 / 0.9516 GB, free: 7.586 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.0001987/0.6478, allocations: 320.4 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.6479, allocations: 9 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.6479, allocations: 81.28 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.648, allocations: 236.7 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.648, allocations: 156.2 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.6481, allocations: 152.1 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.358e-05/0.6481, allocations: 101.5 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.6481, allocations: 75.47 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.6481, allocations: 155.6 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.6482, allocations: 158.5 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.6482, allocations: 151.5 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.6484, allocations: 448.3 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.984e-05/0.6484, allocations: 166.2 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.6484, allocations: 88.14 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.6484, allocations: 79.22 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.6485, allocations: 106.9 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.6485, allocations: 0 / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.939e-05/0.6485, allocations: 31.8 kB / 0.954 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.6486, allocations: 130.7 kB / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.6486, allocations: 97.2 kB / 0.9542 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.6486, allocations: 26.77 kB / 0.9542 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.6487, allocations: 85.39 kB / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.6487, allocations: 0 / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.6487, allocations: 10.78 kB / 0.9543 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.6487, allocations: 311.8 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.6488, allocations: 1.094 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.6488, allocations: 5.062 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.129e-05/0.6488, allocations: 83.42 kB / 0.9547 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.6488, allocations: 76.47 kB / 0.9548 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.552e-05/0.6488, allocations: 27.98 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6489, allocations: 80.72 kB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6489, allocations: 81.98 kB / 0.955 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.6489, allocations: 162.5 kB / 0.9551 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-05/0.6489, allocations: 80.28 kB / 0.9552 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.649, allocations: 159.5 kB / 0.9553 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.6491, allocations: 81.45 kB / 0.9554 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.6491, allocations: 79.33 kB / 0.9555 GB, free: 3.387 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 (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 prepare postOptimizeDAE: time 6.239e-05/0.6492, allocations: 260.6 kB / 0.9557 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.6492, allocations: 110 kB / 0.9558 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.6492, allocations: 117 kB / 0.956 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.6493, allocations: 189 kB / 0.9561 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/0.6493, allocations: 182.3 kB / 0.9563 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.6493, allocations: 177.2 kB / 0.9565 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.6495, allocations: 406.2 kB / 0.9569 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.6495, allocations: 102.3 kB / 0.957 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.6495, allocations: 110.4 kB / 0.9571 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.327e-05/0.6495, allocations: 181.6 kB / 0.9572 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.6496, allocations: 180.2 kB / 0.9574 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.437e-05/0.6496, allocations: 181.9 kB / 0.9576 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-05/0.6496, allocations: 185.7 kB / 0.9578 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.825e-05/0.6497, allocations: 302.3 kB / 0.9581 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.6497, allocations: 183.5 kB / 0.9582 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.6498, allocations: 193.6 kB / 0.9584 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.6498, allocations: 102.2 kB / 0.9585 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.6499, allocations: 180.2 kB / 0.9587 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.65, allocations: 106.2 kB / 0.9588 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.65, allocations: 78.97 kB / 0.9589 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.65, allocations: 0 / 0.9589 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002499/0.6503, allocations: 2.688 kB / 0.9589 GB, free: 15.74 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 (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.0002767/0.6505, allocations: 193.7 kB / 0.959 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.839e-05/0.6506, allocations: 11.94 kB / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6506, allocations: 0 / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.6506, allocations: 1.312 kB / 0.9591 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.651, allocations: 455.8 kB / 0.9595 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.6512, allocations: 173.4 kB / 0.9597 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.6514, allocations: 0.6757 MB / 0.9603 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.6514, allocations: 0 / 0.9603 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.6515, allocations: 12.44 kB / 0.9603 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.6515, allocations: 0 / 0.9603 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.001989/0.6535, allocations: 329.6 kB / 0.9606 GB, free: 14.06 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches