Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.001213/0.001213, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.614/2.614, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 67.09 kB / 0.9087 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2462, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002263/0.2485, allocations: 1.269 MB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2505, allocations: 1.442 MB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.2505, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2505, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.2507, allocations: 11.94 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.2512, allocations: 215.4 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.2513, allocations: 23.92 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.2513, allocations: 4 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.2514, allocations: 23.86 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.2515, allocations: 7.984 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2516, allocations: 8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.2518, allocations: 143.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2518, allocations: 11.98 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.2518, allocations: 11.92 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2521, allocations: 143.8 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2521, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2521, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2521, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 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.0003832/0.2525, allocations: 363.8 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2525, allocations: 12.03 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.2526, allocations: 106 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.2527, allocations: 84.12 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.2528, allocations: 247.7 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.2529, allocations: 158.8 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.253, allocations: 158.5 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.2531, allocations: 105 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/0.2531, allocations: 75.28 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.2532, allocations: 150.6 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.2532, allocations: 150.6 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.2533, allocations: 158.6 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.2536, allocations: 457.9 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.2537, allocations: 173 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.2538, allocations: 84.14 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.2538, allocations: 75.28 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.787e-05/0.2539, allocations: 109.8 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.2539, allocations: 4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.408e-05/0.2539, allocations: 37.62 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.254, allocations: 126.7 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.2541, allocations: 105.9 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2541, allocations: 25.7 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.2542, allocations: 84.12 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.2542, allocations: 3.984 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.2542, allocations: 21.72 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2544, allocations: 314.8 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.2544, allocations: 11.98 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.2544, allocations: 22.56 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/0.2545, allocations: 30.52 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2545, allocations: 4 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/0.2546, allocations: 53.47 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2546, allocations: 4 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2546, allocations: 4 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2547, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.2547, allocations: 11.98 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2547, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.2549, allocations: 4 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2549, allocations: 4 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001112/0.255, allocations: 201.1 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.2551, allocations: 108.9 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.2551, allocations: 108 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.463e-05/0.2552, allocations: 180.2 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-05/0.2553, allocations: 180.3 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.558e-05/0.2554, allocations: 184.2 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.2556, allocations: 409.1 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/0.2557, allocations: 105 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.2557, allocations: 109 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.739e-05/0.2558, allocations: 176.3 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.2559, allocations: 184.3 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.382e-05/0.256, allocations: 184.2 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.391e-05/0.256, allocations: 176.3 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2562, allocations: 307.7 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.2563, allocations: 186 kB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.2564, allocations: 184.3 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.2565, allocations: 105 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.2565, allocations: 184.4 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.2566, allocations: 101 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.2566, allocations: 87.28 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2566, allocations: 4 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003078/0.257, allocations: 51.98 kB / 1.074 GB, free: 3.48 MB / 0.8262 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.0008509/0.2578, allocations: 0.9744 MB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.311e-05/0.2579, allocations: 8 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2579, allocations: 4.188 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.2579, allocations: 3.938 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.2583, allocations: 461.9 kB / 1.075 GB, free: 2.051 MB / 0.8262 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2594, allocations: 1.342 MB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2597, allocations: 0.6768 MB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.2597, allocations: 11.88 kB / 1.077 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.2597, allocations: 11.44 kB / 1.077 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2598, allocations: 0 / 1.077 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.757/3.016, allocations: 2.605 MB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.757/12.77, allocations: 12.73 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches