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.001668/0.001668, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001911/0.001911, allocations: 199.8 kB / 16.26 MB, free: 6.621 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.559 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.497/2.497, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 64.12 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7318, allocations: 140.4 MB / 0.9491 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002642/0.7345, allocations: 1.324 MB / 0.9504 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.7354, allocations: 0.7232 MB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.7355, allocations: 0 / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.7355, allocations: 0 / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.7358, allocations: 15.97 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.736, allocations: 50.55 kB / 0.9512 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.736, allocations: 14.94 kB / 0.9512 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.7361, allocations: 5.359 kB / 0.9512 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.7362, allocations: 16.23 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.7363, allocations: 13.44 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.7363, allocations: 1.375 kB / 0.9512 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-05/0.7364, allocations: 8.109 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.7364, allocations: 6.734 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.7365, allocations: 4.125 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.401e-05/0.7366, allocations: 25.53 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7366, allocations: 4 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.36e-06/0.7366, allocations: 1.375 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.7366, allocations: 3.938 kB / 0.9513 GB, free: 7.578 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.0003077/0.7369, allocations: 325.7 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.737, allocations: 9.625 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.737, allocations: 81.58 kB / 0.9517 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.7371, allocations: 244.7 kB / 0.9519 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.7372, allocations: 156 kB / 0.952 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.7372, allocations: 152.1 kB / 0.9522 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.059e-05/0.7373, allocations: 106.6 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.7373, allocations: 75.47 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.7373, allocations: 154.5 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7373, allocations: 151.7 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.7373, allocations: 154.5 kB / 0.9528 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.7376, allocations: 453.8 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.7376, allocations: 170.2 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.7376, allocations: 85.59 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.7376, allocations: 76.28 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.7377, allocations: 111.2 kB / 0.9537 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.7377, allocations: 4 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.285e-05/0.7378, allocations: 38.88 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7378, allocations: 126.7 kB / 0.9538 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.7379, allocations: 106.3 kB / 0.9539 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.7379, allocations: 25.7 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.7379, allocations: 85.38 kB / 0.954 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.7379, allocations: 1.312 kB / 0.954 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.738, allocations: 17.31 kB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.738, allocations: 319.9 kB / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.7381, allocations: 2.938 kB / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.43e-05/0.7381, allocations: 7.469 kB / 0.9544 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.7381, allocations: 24.31 kB / 0.9544 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7381, allocations: 0 / 0.9544 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.7383, allocations: 36.39 kB / 0.9544 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7383, allocations: 4.469 kB / 0.9544 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7383, allocations: 5.219 kB / 0.9544 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7383, allocations: 4 kB / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.7383, allocations: 0 / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7383, allocations: 5.078 kB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.7384, allocations: 1.656 kB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.7384, allocations: 1.344 kB / 0.9544 GB, free: 4.176 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.7385, allocations: 182.8 kB / 0.9546 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.7386, allocations: 114.4 kB / 0.9547 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.7386, allocations: 121.3 kB / 0.9548 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.7386, allocations: 177.7 kB / 0.955 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.071e-05/0.7387, allocations: 182.1 kB / 0.9552 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.7387, allocations: 176.3 kB / 0.9553 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.7388, allocations: 412.3 kB / 0.9557 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.7389, allocations: 110.4 kB / 0.9558 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.7389, allocations: 102.1 kB / 0.9559 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.713e-05/0.7389, allocations: 185.2 kB / 0.9561 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.739, allocations: 185.9 kB / 0.9563 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/0.739, allocations: 184.1 kB / 0.9565 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-05/0.739, allocations: 181.6 kB / 0.9566 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.586e-05/0.7391, allocations: 311.5 kB / 0.9569 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.7392, allocations: 179.5 kB / 0.9571 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.7392, allocations: 185.6 kB / 0.9573 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.396e-05/0.7393, allocations: 102.4 kB / 0.9574 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.7393, allocations: 189.3 kB / 0.9576 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.7393, allocations: 106.1 kB / 0.9577 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.7394, allocations: 83.91 kB / 0.9577 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7394, allocations: 0 / 0.9577 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002409/0.7396, allocations: 8.656 kB / 0.9578 GB, free: 0.5781 MB / 0.7169 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.0002887/0.7399, allocations: 185.8 kB / 0.9579 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.74, allocations: 12.89 kB / 0.9579 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.74, allocations: 1.031 kB / 0.9579 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.74, allocations: 3.938 kB / 0.9579 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.7403, allocations: 457.8 kB / 0.9584 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.7406, allocations: 171 kB / 0.9585 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.7409, allocations: 0.6792 MB / 0.9592 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.654e-05/0.7409, allocations: 1.375 kB / 0.9592 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.741, allocations: 8.875 kB / 0.9592 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.741, allocations: 0 / 0.9592 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.002389/0.7434, allocations: 428 kB / 0.9596 GB, free: 14.84 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