Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_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.0063/0.0063, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001522/0.001522, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.91 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002164/0.2899, allocations: 1.256 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.291, allocations: 0.7426 MB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.291, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.2911, allocations: 4 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.2913, allocations: 11.92 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.2915, allocations: 49.48 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.2916, allocations: 15.98 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.2917, allocations: 7.984 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/0.2917, allocations: 11.94 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2919, allocations: 7.938 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2919, allocations: 3.984 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.343e-05/0.292, allocations: 19.98 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.292, allocations: 4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2921, allocations: 7.938 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.2922, allocations: 19.97 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2922, allocations: 0 / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2922, allocations: 0 / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2922, allocations: 0 / 1.209 GB, free: 7.988 MB / 0.9669 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.0003266/0.2925, allocations: 335.7 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2926, allocations: 8.625 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.2926, allocations: 110 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.2927, allocations: 88.22 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2928, allocations: 239.7 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.2929, allocations: 158.9 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.2929, allocations: 154.9 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.817e-05/0.293, allocations: 105.5 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.293, allocations: 83.22 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.2931, allocations: 150.6 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.2931, allocations: 154.5 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.2932, allocations: 150.6 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.2935, allocations: 453.9 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.2935, allocations: 169.1 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.2936, allocations: 92.12 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2936, allocations: 75.28 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2936, allocations: 105.8 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2936, allocations: 0 / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.783e-05/0.2937, allocations: 37.48 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.2938, allocations: 134.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2939, allocations: 105.8 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2939, allocations: 29.69 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.294, allocations: 80.64 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.294, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.294, allocations: 21.7 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.2941, allocations: 310.8 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.2941, allocations: 8 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.2942, allocations: 11.98 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.2942, allocations: 16.86 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2942, allocations: 0 / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/0.2943, allocations: 37.64 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2943, allocations: 15.92 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2944, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2944, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2944, allocations: 128 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2944, allocations: 4 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.2945, allocations: 4 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2945, allocations: 0 / 1.213 GB, free: 4.363 MB / 0.9669 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.834e-05/0.2946, allocations: 185.1 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.2947, allocations: 120.8 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.2947, allocations: 108.5 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-05/0.2948, allocations: 180.3 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/0.2948, allocations: 184.3 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.563e-05/0.2949, allocations: 180.3 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.295, allocations: 405.5 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.2951, allocations: 104.9 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.2951, allocations: 109 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.773e-05/0.2952, allocations: 188.1 kB / 1.214 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.2952, allocations: 184.3 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.485e-05/0.2953, allocations: 180.3 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.66e-05/0.2953, allocations: 180.2 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.2954, allocations: 311.8 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.2955, allocations: 186 kB / 1.215 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.2956, allocations: 180.2 kB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.2956, allocations: 108.9 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.2957, allocations: 176.3 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2957, allocations: 108.9 kB / 1.216 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.2958, allocations: 87.28 kB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2958, allocations: 0 / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002251/0.296, allocations: 7.938 kB / 1.216 GB, free: 0.7344 MB / 0.9669 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.0004917/0.2965, allocations: 0.8243 MB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.884e-05/0.2966, allocations: 7.938 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2966, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.2966, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2969, allocations: 466.1 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.2978, allocations: 1.298 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.298, allocations: 0.6768 MB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.2981, allocations: 4 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.2981, allocations: 7.438 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2981, allocations: 0 / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3163, allocations: 1.3 MB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.08, allocations: 12.17 kB / 1.22 GB, free: 12.17 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches