Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007362/0.007362, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001669/0.001669, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2836, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002274/0.286, allocations: 1.264 MB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2871, allocations: 0.739 MB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.2871, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.2872, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.2874, allocations: 19.92 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.2876, allocations: 54.61 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.2877, allocations: 23.92 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.2878, allocations: 3.984 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.2879, allocations: 11.94 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.288, allocations: 11.97 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.288, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.2881, allocations: 8 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.2881, allocations: 7.938 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.2882, allocations: 11.98 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.2883, allocations: 19.92 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2883, allocations: 3.984 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2883, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2883, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 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.0003215/0.2886, allocations: 330.3 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2887, allocations: 12.03 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.2887, allocations: 106 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.2888, allocations: 80.22 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2889, allocations: 236.2 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.289, allocations: 158.9 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.289, allocations: 150.9 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.52e-05/0.2891, allocations: 109.5 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.2891, allocations: 83.22 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.2892, allocations: 158.5 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.2892, allocations: 150.6 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.2893, allocations: 154.6 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.2896, allocations: 453.9 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/0.2896, allocations: 173.1 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.2897, allocations: 80.14 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2897, allocations: 75.28 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.2897, allocations: 109.8 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.2898, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.872e-05/0.2898, allocations: 45.42 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.2899, allocations: 130.7 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.29, allocations: 106.2 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.29, allocations: 25.7 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.2901, allocations: 80.14 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.2901, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.2901, allocations: 25.7 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.2902, allocations: 314.8 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.2902, allocations: 0 / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.2903, allocations: 15.98 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.2903, allocations: 16.86 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2903, allocations: 0 / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.2904, allocations: 45.62 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2905, allocations: 7.938 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2905, allocations: 0 / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2905, allocations: 0 / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2905, allocations: 0 / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2905, allocations: 0 / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.2906, allocations: 12.06 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.2906, allocations: 0 / 1.172 GB, free: 1.508 MB / 0.92 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 8.635e-05/0.2907, allocations: 189.1 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.2908, allocations: 104.9 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.2908, allocations: 112.5 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.2909, allocations: 180.3 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/0.2909, allocations: 184.2 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-05/0.291, allocations: 180.2 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.2912, allocations: 401.2 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.688e-05/0.2912, allocations: 109 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.2913, allocations: 101 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.054e-05/0.2913, allocations: 192.3 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.2914, allocations: 180.3 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.706e-05/0.2914, allocations: 180.5 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.606e-05/0.2915, allocations: 184.1 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.2916, allocations: 311.7 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.2917, allocations: 190.1 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.2918, allocations: 188.2 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.2918, allocations: 108.9 kB / 1.175 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2919, allocations: 184.2 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.2919, allocations: 104.9 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.292, allocations: 87.27 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.292, allocations: 4 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000214/0.2922, allocations: 4 kB / 1.175 GB, free: 13.88 MB / 0.9356 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.0005124/0.2927, allocations: 0.8165 MB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.387e-05/0.2928, allocations: 15.92 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2928, allocations: 0 / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2928, allocations: 0 / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2931, allocations: 451.7 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009118/0.294, allocations: 1.298 MB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2943, allocations: 0.6769 MB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.2943, allocations: 0 / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.2943, allocations: 15.42 kB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2943, allocations: 0 / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.3125, allocations: 1.29 MB / 1.179 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.41, allocations: 9.812 kB / 1.179 GB, free: 9.332 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches