Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001922/0.001922, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.43/2.43, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.88 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7769, allocations: 140.4 MB / 0.9489 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002332/0.7793, allocations: 1.328 MB / 0.9502 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.7804, allocations: 0.7141 MB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.7804, allocations: 0 / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.526e-05/0.7805, allocations: 1.281 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.7807, allocations: 14.48 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.7809, allocations: 46.81 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.781, allocations: 39.09 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.7811, allocations: 1.219 kB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.7811, allocations: 11.58 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.7813, allocations: 9.453 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.7813, allocations: 0 / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.7814, allocations: 10.3 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.7814, allocations: 11.5 kB / 0.9511 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.7815, allocations: 6.703 kB / 0.9511 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.7816, allocations: 30.33 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.7816, allocations: 3.984 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7816, allocations: 0 / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7816, allocations: 4 kB / 0.9511 GB, free: 7.66 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.0003047/0.7819, allocations: 326.8 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.782, allocations: 9.562 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.782, allocations: 77.59 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7822, allocations: 249.1 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.7822, allocations: 150.9 kB / 0.9519 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.7822, allocations: 160.4 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.048e-05/0.7823, allocations: 106.8 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.7823, allocations: 75.47 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.7824, allocations: 154.5 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.7824, allocations: 155.9 kB / 0.9525 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.928e-05/0.7824, allocations: 150.6 kB / 0.9526 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.7826, allocations: 454.5 kB / 0.9531 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.7827, allocations: 169.1 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.7827, allocations: 81.59 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.7827, allocations: 77 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.7828, allocations: 117.8 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7828, allocations: 3.938 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.105e-05/0.7828, allocations: 32.52 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.7829, allocations: 126.7 kB / 0.9537 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.783, allocations: 105.6 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.783, allocations: 26.83 kB / 0.9538 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.783, allocations: 80.14 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.783, allocations: 1.062 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.7831, allocations: 22.08 kB / 0.9539 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.7831, allocations: 315.7 kB / 0.9542 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.7832, allocations: 3.062 kB / 0.9542 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.7832, allocations: 9.953 kB / 0.9542 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.7832, allocations: 20.89 kB / 0.9542 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7832, allocations: 0 / 0.9542 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.7833, allocations: 40.97 kB / 0.9543 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7834, allocations: 8.969 kB / 0.9543 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7834, allocations: 3.938 kB / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7834, allocations: 1.875 kB / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.7834, allocations: 0 / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.7834, allocations: 0 / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.7836, allocations: 1.344 kB / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.7836, allocations: 1.188 kB / 0.9543 GB, free: 4.262 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 6.812e-05/0.7837, allocations: 187.3 kB / 0.9544 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.7837, allocations: 119.2 kB / 0.9546 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.7837, allocations: 117.6 kB / 0.9547 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.7838, allocations: 180.2 kB / 0.9548 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.97e-05/0.7838, allocations: 181.8 kB / 0.955 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.7838, allocations: 181.4 kB / 0.9552 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.784, allocations: 412.5 kB / 0.9556 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.784, allocations: 102.5 kB / 0.9557 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.784, allocations: 108.9 kB / 0.9558 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.338e-05/0.7841, allocations: 181.6 kB / 0.956 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.7841, allocations: 181.7 kB / 0.9561 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.891e-05/0.7841, allocations: 181.5 kB / 0.9563 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-05/0.7842, allocations: 188.3 kB / 0.9565 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.718e-05/0.7842, allocations: 304.6 kB / 0.9568 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.7843, allocations: 179.2 kB / 0.9569 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.7843, allocations: 193.2 kB / 0.9571 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.7844, allocations: 106.5 kB / 0.9572 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.7844, allocations: 185.7 kB / 0.9574 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.7844, allocations: 101 kB / 0.9575 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.7845, allocations: 84.75 kB / 0.9576 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7845, allocations: 0 / 0.9576 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002337/0.7847, allocations: 11.64 kB / 0.9576 GB, free: 0.6562 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.0002512/0.785, allocations: 192 kB / 0.9578 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.7851, allocations: 9.531 kB / 0.9578 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7851, allocations: 0 / 0.9578 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.7851, allocations: 0 / 0.9578 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.7854, allocations: 0.5211 MB / 0.9583 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.7857, allocations: 169.7 kB / 0.9585 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.7859, allocations: 0.6772 MB / 0.9591 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.7859, allocations: 1.531 kB / 0.9591 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.786, allocations: 7.438 kB / 0.9591 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.786, allocations: 0 / 0.9591 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.002543/0.7885, allocations: 439.5 kB / 0.9596 GB, free: 14.86 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches