Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001703/0.001703, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001876/0.001876, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.66 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002369/0.2861, allocations: 1.236 MB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2872, allocations: 0.7231 MB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.2873, allocations: 4 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.2873, allocations: 0 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2875, allocations: 19.92 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.007e-05/0.2876, allocations: 7.984 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.2877, allocations: 7.984 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2877, allocations: 0 / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.2878, allocations: 7.938 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.2879, allocations: 8.484 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2879, allocations: 3.938 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.288, allocations: 8 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.288, allocations: 11.98 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.2881, allocations: 3.938 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.502e-05/0.2881, allocations: 7.984 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2882, allocations: 0 / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2882, allocations: 0 / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2882, allocations: 0 / 1.021 GB, free: 7.773 MB / 0.795 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.0003182/0.2885, allocations: 323.5 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2885, allocations: 12.92 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.2886, allocations: 76.22 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.2888, allocations: 239.7 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.2888, allocations: 154.9 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.2889, allocations: 158.9 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.712e-05/0.289, allocations: 103.1 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.289, allocations: 79.45 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.2891, allocations: 162.5 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.2891, allocations: 150.6 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.2892, allocations: 150.6 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.2895, allocations: 442 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.2896, allocations: 177.1 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.2896, allocations: 80.14 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2897, allocations: 75.28 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.2897, allocations: 113.8 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2897, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.784e-05/0.2898, allocations: 37.62 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.2899, allocations: 130.7 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.29, allocations: 101.8 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.29, allocations: 25.7 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.29, allocations: 80.14 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.29, allocations: 0 / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.2901, allocations: 13.72 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2902, allocations: 314.8 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-06/0.2902, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.2902, allocations: 8.125 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.2903, allocations: 75.28 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-05/0.2903, allocations: 75.28 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.339e-05/0.2904, allocations: 29.7 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.2904, allocations: 83.28 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/0.2904, allocations: 83.16 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-05/0.2905, allocations: 150.6 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.2906, allocations: 87.23 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/0.2907, allocations: 158.5 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2908, allocations: 75.28 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.2908, allocations: 79.22 kB / 1.025 GB, free: 3.516 MB / 0.795 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.0001587/0.291, allocations: 264.4 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.2911, allocations: 101 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.2911, allocations: 120.2 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.767e-05/0.2912, allocations: 188.3 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-05/0.2913, allocations: 180.2 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.679e-05/0.2913, allocations: 176.3 kB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2916, allocations: 405.2 kB / 1.026 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/0.2916, allocations: 108.9 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.2917, allocations: 105 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.655e-05/0.2918, allocations: 180.2 kB / 1.026 GB, free: 1.602 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/0.2919, allocations: 192.2 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.678e-05/0.2919, allocations: 176.3 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.638e-05/0.292, allocations: 180.2 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.2921, allocations: 307.8 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.2922, allocations: 182.1 kB / 1.027 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.2923, allocations: 184.2 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.2924, allocations: 104.9 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.2925, allocations: 180.3 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.2925, allocations: 108.9 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.2926, allocations: 87.27 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2926, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002702/0.2929, allocations: 4 kB / 1.028 GB, free: 15.83 MB / 0.8106 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.0003057/0.2932, allocations: 191.8 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.25e-05/0.2932, allocations: 0 / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2932, allocations: 0 / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.2932, allocations: 4 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.2936, allocations: 453.5 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.294, allocations: 176.7 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.2943, allocations: 0.6729 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.409e-05/0.2943, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.2943, allocations: 11.42 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2943, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.002303/0.2966, allocations: 327.2 kB / 1.03 GB, free: 14 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches