Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.004286/0.004286, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001362/0.001362, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.537/2.537, allocations: 482.6 MB / 0.755 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 73.12 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2707, allocations: 162.3 MB / 1.242 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002005/0.2728, allocations: 1.239 MB / 1.243 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.2737, allocations: 0.7158 MB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.2738, allocations: 0 / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.2738, allocations: 0 / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.274, allocations: 23.91 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.185e-05/0.274, allocations: 4 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.968e-05/0.2741, allocations: 4 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.298e-05/0.2741, allocations: 0 / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.2742, allocations: 15.88 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2743, allocations: 11.97 kB / 1.244 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2743, allocations: 0 / 1.244 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.2744, allocations: 4 kB / 1.244 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.2744, allocations: 9.484 kB / 1.244 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.2744, allocations: 3.984 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.428e-05/0.2745, allocations: 16.2 kB / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2745, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2745, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.2745, allocations: 0 / 1.244 GB, free: 6.965 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.0003056/0.2748, allocations: 327.5 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2749, allocations: 12.03 kB / 1.244 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.2749, allocations: 106 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.275, allocations: 76.22 kB / 1.244 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2751, allocations: 251.5 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.2752, allocations: 154.9 kB / 1.245 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.2753, allocations: 150.9 kB / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.634e-05/0.2754, allocations: 105.5 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.2754, allocations: 79.22 kB / 1.245 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.2754, allocations: 154.6 kB / 1.245 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.2755, allocations: 150.6 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.2756, allocations: 154.6 kB / 1.246 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.2758, allocations: 453.9 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.2759, allocations: 165.1 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.276, allocations: 88.14 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.276, allocations: 75.28 kB / 1.246 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.2761, allocations: 109.8 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2761, allocations: 0 / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.328e-05/0.2761, allocations: 33.58 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.2762, allocations: 126.7 kB / 1.247 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.2763, allocations: 105.8 kB / 1.247 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2763, allocations: 25.7 kB / 1.247 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.2764, allocations: 80.14 kB / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.2764, allocations: 0 / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.2764, allocations: 17.72 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2765, allocations: 314.8 kB / 1.247 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.2765, allocations: 0 / 1.247 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.2765, allocations: 0 / 1.247 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.2766, allocations: 87.2 kB / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/0.2766, allocations: 75.28 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.008e-05/0.2767, allocations: 29.83 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.2767, allocations: 87.22 kB / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.2767, allocations: 83.36 kB / 1.247 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.197e-05/0.2768, allocations: 150.6 kB / 1.248 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-05/0.2768, allocations: 83.2 kB / 1.248 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/0.2769, allocations: 162.5 kB / 1.248 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.277, allocations: 83.2 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.2771, allocations: 75.28 kB / 1.248 GB, free: 2.57 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 (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.0001148/0.2772, allocations: 264.4 kB / 1.248 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.2772, allocations: 109 kB / 1.248 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.2773, allocations: 112.1 kB / 1.248 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.49e-05/0.2774, allocations: 188.2 kB / 1.249 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.394e-05/0.2775, allocations: 180.2 kB / 1.249 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.05e-05/0.2775, allocations: 180.3 kB / 1.249 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.2778, allocations: 401.2 kB / 1.249 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/0.2778, allocations: 108.9 kB / 1.249 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.2778, allocations: 104.9 kB / 1.249 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.4e-05/0.2779, allocations: 184.1 kB / 1.25 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.278, allocations: 184.3 kB / 1.25 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.689e-05/0.278, allocations: 184.2 kB / 1.25 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.346e-05/0.2781, allocations: 180.3 kB / 1.25 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2783, allocations: 303.8 kB / 1.25 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.2783, allocations: 182.1 kB / 1.251 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.2784, allocations: 192.1 kB / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.2785, allocations: 105 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.2786, allocations: 176.3 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.2786, allocations: 108.9 kB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.2787, allocations: 83.27 kB / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2787, allocations: 0 / 1.251 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002856/0.279, allocations: 0 / 1.251 GB, free: 14.89 MB / 0.9825 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.0005176/0.2795, allocations: 0.8241 MB / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.804e-05/0.2795, allocations: 7.938 kB / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2795, allocations: 4 kB / 1.252 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2795, allocations: 3.938 kB / 1.252 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.2799, allocations: 455.7 kB / 1.253 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.281, allocations: 1.567 MB / 1.254 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2813, allocations: 0.6729 MB / 1.255 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.139e-05/0.2813, allocations: 8.094 kB / 1.255 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.2813, allocations: 11.42 kB / 1.255 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2813, allocations: 0 / 1.255 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.086/1.367, allocations: 1.201 MB / 1.256 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.28, allocations: 16.69 kB / 1.256 GB, free: 10.19 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches