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.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.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.00139/0.00139, allocations: 100.1 kB / 15.88 MB, free: 12 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.001503/0.001504, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.516 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.448/2.448, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 67.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6856, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002225/0.6879, allocations: 1.3 MB / 0.9508 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.6887, allocations: 0.6914 MB / 0.9515 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.6888, allocations: 5.406 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.6888, allocations: 0 / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.689, allocations: 19.69 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.36e-05/0.6891, allocations: 11 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.6891, allocations: 15.98 kB / 0.9516 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.6892, allocations: 1.094 kB / 0.9516 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.6892, allocations: 6.703 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.6894, allocations: 8.297 kB / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6894, allocations: 0 / 0.9516 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.258e-05/0.6894, allocations: 13.5 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.6895, allocations: 10.77 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.6895, allocations: 5.391 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.979e-05/0.6896, allocations: 2.75 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6896, allocations: 1.406 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6896, allocations: 0 / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.6896, allocations: 3.938 kB / 0.9516 GB, free: 7.469 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.0002774/0.6899, allocations: 323.7 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.6899, allocations: 9.719 kB / 0.9519 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.69, allocations: 77.53 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.6901, allocations: 241 kB / 0.9522 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6901, allocations: 154.9 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.6902, allocations: 152.3 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.604e-05/0.6902, allocations: 113.5 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6902, allocations: 80.61 kB / 0.9527 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.6903, allocations: 158.5 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.6903, allocations: 151.7 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.6903, allocations: 150.6 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.6905, allocations: 444.5 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.414e-05/0.6906, allocations: 170.3 kB / 0.9538 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.6906, allocations: 84.14 kB / 0.9538 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.6907, allocations: 75.28 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6907, allocations: 107.5 kB / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.6907, allocations: 0 / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.594e-05/0.6908, allocations: 36.11 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.6908, allocations: 127.8 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/0.6909, allocations: 101.9 kB / 0.9543 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.6909, allocations: 29.64 kB / 0.9543 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.6909, allocations: 80.14 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.6909, allocations: 1.594 kB / 0.9544 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.691, allocations: 10.94 kB / 0.9544 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.691, allocations: 318.8 kB / 0.9547 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-06/0.691, allocations: 1.281 kB / 0.9547 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.6911, allocations: 5.312 kB / 0.9547 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.387e-05/0.6911, allocations: 75.28 kB / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.6911, allocations: 76.38 kB / 0.9548 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.858e-05/0.6911, allocations: 32.02 kB / 0.9549 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6912, allocations: 81.03 kB / 0.9549 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.6912, allocations: 83.16 kB / 0.955 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.6912, allocations: 152.3 kB / 0.9552 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.357e-05/0.6912, allocations: 79.31 kB / 0.9552 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/0.6913, allocations: 163.5 kB / 0.9554 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.6914, allocations: 76.53 kB / 0.9555 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.6914, allocations: 84.47 kB / 0.9555 GB, free: 3.258 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 7.029e-05/0.6915, allocations: 262 kB / 0.9558 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.6915, allocations: 101 kB / 0.9559 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.6916, allocations: 125.1 kB / 0.956 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.6916, allocations: 182.2 kB / 0.9562 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.858e-05/0.6916, allocations: 180.5 kB / 0.9564 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/0.6917, allocations: 181.9 kB / 0.9565 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.6918, allocations: 402.6 kB / 0.9569 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.6919, allocations: 108.9 kB / 0.957 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.6919, allocations: 102.7 kB / 0.9571 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.204e-05/0.6919, allocations: 181.8 kB / 0.9573 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.6919, allocations: 184.1 kB / 0.9575 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.587e-05/0.692, allocations: 181.3 kB / 0.9576 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.587e-05/0.692, allocations: 181.7 kB / 0.9578 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.968e-05/0.6921, allocations: 307.9 kB / 0.9581 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.6921, allocations: 186 kB / 0.9583 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.6922, allocations: 181.5 kB / 0.9585 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.6923, allocations: 110.5 kB / 0.9586 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.6923, allocations: 181.8 kB / 0.9587 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.6924, allocations: 105 kB / 0.9588 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.6925, allocations: 86.17 kB / 0.9589 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.245e-06/0.6925, allocations: 0 / 0.9589 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002577/0.6927, allocations: 7.125 kB / 0.9589 GB, free: 15.6 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.0003816/0.6931, allocations: 188 kB / 0.9591 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.561e-05/0.6932, allocations: 0 / 0.9591 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.6932, allocations: 1.531 kB / 0.9591 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.6932, allocations: 0 / 0.9591 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.6936, allocations: 0.5161 MB / 0.9596 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.6939, allocations: 195 kB / 0.9598 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.6941, allocations: 0.6705 MB / 0.9605 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.6941, allocations: 12.88 kB / 0.9605 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.6941, allocations: 0 / 0.9605 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of Templates: time 0.001998/0.6962, allocations: 467.4 kB / 0.9609 GB, free: 13.77 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/jenkins1/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