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.003592/0.003596, allocations: 96.48 kB / 15.73 MB, free: 6.488 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.001026/0.001026, allocations: 191.5 kB / 16.67 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.558/2.558, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002059/0.2469, allocations: 1.28 MB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.2488, allocations: 1.446 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.2488, allocations: 4 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.2489, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.249, allocations: 7.938 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.2496, allocations: 218.3 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.2497, allocations: 23.92 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.892e-05/0.2497, allocations: 3.984 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.2498, allocations: 19.94 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.474e-05/0.2499, allocations: 11.97 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2499, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.2502, allocations: 167.8 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.016e-06/0.2502, allocations: 3.938 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.2502, allocations: 19.92 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2505, allocations: 143.6 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2505, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2505, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2505, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 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.0003526/0.2508, allocations: 375 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2509, allocations: 8.031 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.2509, allocations: 110 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.251, allocations: 84.16 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2512, allocations: 247.6 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.2512, allocations: 158.9 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.2513, allocations: 158.5 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.694e-05/0.2514, allocations: 101 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.2514, allocations: 79.28 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.2515, allocations: 154.6 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.2515, allocations: 150.6 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.2516, allocations: 154.5 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.2519, allocations: 453.9 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.252, allocations: 177.1 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.252, allocations: 80.14 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.2521, allocations: 79.28 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.2521, allocations: 109.8 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.2521, allocations: 3.938 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.983e-05/0.2522, allocations: 29.69 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.2523, allocations: 134.7 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.2523, allocations: 97.86 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2524, allocations: 25.7 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.2524, allocations: 92.12 kB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.2524, allocations: 0 / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.2525, allocations: 17.72 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2526, allocations: 314.8 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.2526, allocations: 3.984 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.2526, allocations: 30.58 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.802e-05/0.2527, allocations: 22.52 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2527, allocations: 0 / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001089/0.2528, allocations: 53.56 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2528, allocations: 12.09 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.2528, allocations: 0 / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.2528, allocations: 0 / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.2529, allocations: 7.984 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.2529, allocations: 7.938 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2531, allocations: 11.89 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2531, allocations: 3.938 kB / 1.227 GB, free: 7.23 MB / 0.9825 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.0001019/0.2532, allocations: 203.5 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.2532, allocations: 105 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.2533, allocations: 108.1 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.695e-05/0.2534, allocations: 180.2 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.591e-05/0.2534, allocations: 176.3 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.655e-05/0.2535, allocations: 188.2 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2537, allocations: 409.2 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/0.2538, allocations: 105 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.2538, allocations: 112.9 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.466e-05/0.2539, allocations: 176.3 kB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.254, allocations: 180.5 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.378e-05/0.254, allocations: 180.3 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-05/0.2541, allocations: 188.2 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2543, allocations: 307.8 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.2543, allocations: 182 kB / 1.229 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.2544, allocations: 176.3 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.2545, allocations: 108.9 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.2546, allocations: 188.3 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.2546, allocations: 101 kB / 1.23 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.2547, allocations: 79.28 kB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2547, allocations: 0 / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002924/0.255, allocations: 55.8 kB / 1.23 GB, free: 3.578 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.0008239/0.2558, allocations: 0.974 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.2559, allocations: 23.94 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2559, allocations: 3.938 kB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.2559, allocations: 0 / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2562, allocations: 455.9 kB / 1.232 GB, free: 2.137 MB / 0.9825 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.001004/0.2572, allocations: 1.357 MB / 1.233 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2575, allocations: 0.6768 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.2576, allocations: 8 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.2576, allocations: 7.438 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.2576, allocations: 0 / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 60.88/61.14, allocations: 2.642 MB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/77.27, allocations: 9.984 kB / 1.236 GB, free: 13.49 MB / 0.9981 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