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.001795/0.001796, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001843/0.001843, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.83 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002479/0.282, allocations: 1.229 MB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2831, allocations: 0.7329 MB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.2832, allocations: 0 / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2832, allocations: 0 / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.2835, allocations: 15.92 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.326e-05/0.2836, allocations: 11.98 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.2836, allocations: 4 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.2837, allocations: 4 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.2837, allocations: 7.984 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2839, allocations: 7.938 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2839, allocations: 0 / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.284, allocations: 11.92 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.284, allocations: 11.98 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.284, allocations: 3.938 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.2841, allocations: 4 kB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2841, allocations: 4 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2841, allocations: 0 / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.2842, allocations: 0 / 0.9531 GB, free: 6 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.0003488/0.2845, allocations: 319.5 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2846, allocations: 12.03 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.2846, allocations: 76.22 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2848, allocations: 239.7 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.2848, allocations: 162.9 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.2849, allocations: 150.9 kB / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.631e-05/0.285, allocations: 105.5 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/0.285, allocations: 75.47 kB / 0.9542 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.2851, allocations: 154.5 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.2851, allocations: 150.6 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.2852, allocations: 158.6 kB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.2855, allocations: 445.9 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.2856, allocations: 169.1 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.2856, allocations: 84.14 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2856, allocations: 79.28 kB / 0.9554 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2857, allocations: 109.8 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2857, allocations: 0 / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.62e-05/0.2858, allocations: 33.69 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.2859, allocations: 130.6 kB / 0.9557 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.286, allocations: 97.84 kB / 0.9558 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.286, allocations: 33.77 kB / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.286, allocations: 84.14 kB / 0.9559 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.286, allocations: 0 / 0.9559 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.2861, allocations: 13.72 kB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2862, allocations: 310.8 kB / 0.9562 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.2862, allocations: 0 / 0.9562 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.2862, allocations: 0 / 0.9562 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.2862, allocations: 79.28 kB / 0.9563 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/0.2863, allocations: 75.28 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.428e-05/0.2863, allocations: 29.73 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.2864, allocations: 83.28 kB / 0.9564 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.2864, allocations: 91.12 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-05/0.2865, allocations: 158.5 kB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.207e-05/0.2865, allocations: 79.22 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.642e-05/0.2866, allocations: 158.5 kB / 0.9569 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2867, allocations: 79.28 kB / 0.957 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2867, allocations: 79.22 kB / 0.9571 GB, free: 1.738 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 (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 0.0001166/0.2868, allocations: 264.4 kB / 0.9573 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.2869, allocations: 105 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.287, allocations: 112.2 kB / 0.9575 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/0.287, allocations: 188.3 kB / 0.9577 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.419e-05/0.2871, allocations: 176.3 kB / 0.9579 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.774e-05/0.2872, allocations: 184.2 kB / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.2874, allocations: 401.2 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/0.2874, allocations: 104.9 kB / 0.9585 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.2875, allocations: 105 kB / 0.9586 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.329e-05/0.2876, allocations: 184.2 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/0.2877, allocations: 188.1 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.767e-05/0.2878, allocations: 176.3 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.236e-05/0.2878, allocations: 184.2 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.288, allocations: 303.8 kB / 0.9596 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.2881, allocations: 182 kB / 0.9598 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.2881, allocations: 192.2 kB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.2882, allocations: 104.9 kB / 0.9601 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.2883, allocations: 184.2 kB / 0.9602 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.2883, allocations: 101 kB / 0.9603 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.2884, allocations: 83.28 kB / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.744e-06/0.2884, allocations: 0 / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002592/0.2887, allocations: 7.938 kB / 0.9604 GB, free: 14.06 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.0003068/0.289, allocations: 197.8 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 4.75e-05/0.289, allocations: 4 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.289, allocations: 4.094 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.289, allocations: 4 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2894, allocations: 451.7 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.2897, allocations: 164.8 kB / 0.9612 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2899, allocations: 0.6805 MB / 0.9619 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.29, allocations: 7.938 kB / 0.9619 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.29, allocations: 7.438 kB / 0.9619 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.29, allocations: 0 / 0.9619 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of Templates: time 0.002329/0.2923, allocations: 326.3 kB / 0.9622 GB, free: 12.21 MB / 0.7481 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 -s gbode -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