Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001126, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.158/1.158, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.018/2.018, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.465, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001898/0.4669, allocations: 1.327 MB / 0.9503 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.4685, allocations: 1.436 MB / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.4685, allocations: 0 / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.4685, allocations: 0 / 0.9518 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.4687, allocations: 7.938 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.4691, allocations: 183.8 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.4692, allocations: 28.25 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.4692, allocations: 1 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.4693, allocations: 20.47 kB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.4694, allocations: 17.59 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4694, allocations: 1.312 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.4696, allocations: 145.3 kB / 0.9521 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.4696, allocations: 5.453 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.4696, allocations: 11.98 kB / 0.9522 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.4699, allocations: 145.9 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4699, allocations: 1.5 kB / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.21e-07/0.4699, allocations: 0 / 0.9523 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.4699, allocations: 0 / 0.9523 GB, free: 6.645 MB / 0.7169 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.0002452/0.4701, allocations: 373.7 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4702, allocations: 9.281 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.008e-05/0.4702, allocations: 106 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.4702, allocations: 81.62 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.326e-05/0.4703, allocations: 245.2 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4704, allocations: 153.3 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4704, allocations: 157.2 kB / 0.9534 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.008e-05/0.4704, allocations: 109 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4704, allocations: 75.28 kB / 0.9535 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.4704, allocations: 151.8 kB / 0.9537 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4705, allocations: 150.6 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.788e-05/0.4705, allocations: 152.1 kB / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.4706, allocations: 465.2 kB / 0.9544 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.4707, allocations: 170.6 kB / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.4707, allocations: 88.12 kB / 0.9547 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4707, allocations: 75.28 kB / 0.9547 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.4707, allocations: 111.3 kB / 0.9548 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4707, allocations: 0 / 0.9548 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.254e-05/0.4708, allocations: 36.27 kB / 0.9549 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.4708, allocations: 126.7 kB / 0.955 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.4709, allocations: 104.6 kB / 0.9551 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.4709, allocations: 26.92 kB / 0.9551 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.4709, allocations: 85.27 kB / 0.9552 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.4709, allocations: 5.406 kB / 0.9552 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.471, allocations: 18.36 kB / 0.9552 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.366e-05/0.471, allocations: 323.9 kB / 0.9555 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.471, allocations: 2.656 kB / 0.9555 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.4711, allocations: 25.38 kB / 0.9556 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.4711, allocations: 31.73 kB / 0.9556 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4711, allocations: 0 / 0.9556 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.895e-05/0.4712, allocations: 50.64 kB / 0.9556 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4712, allocations: 9.234 kB / 0.9557 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4712, allocations: 1.219 kB / 0.9557 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.4713, allocations: 0.9688 kB / 0.9557 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.4713, allocations: 4.781 kB / 0.9557 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4713, allocations: 1.031 kB / 0.9557 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4715, allocations: 8.172 kB / 0.9557 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4715, allocations: 7.156 kB / 0.9557 GB, free: 3.031 MB / 0.7169 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 4.606e-05/0.4715, allocations: 198.3 kB / 0.9559 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4716, allocations: 102.6 kB / 0.956 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.4716, allocations: 109.3 kB / 0.9561 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.4716, allocations: 189.9 kB / 0.9562 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/0.4716, allocations: 180.3 kB / 0.9564 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.4717, allocations: 185.4 kB / 0.9566 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.4718, allocations: 403.8 kB / 0.957 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4718, allocations: 102.2 kB / 0.9571 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.4718, allocations: 106.5 kB / 0.9572 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.785e-05/0.4718, allocations: 180.3 kB / 0.9574 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.4718, allocations: 185.6 kB / 0.9575 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.4719, allocations: 181.6 kB / 0.9577 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.4719, allocations: 177.4 kB / 0.9579 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.047e-05/0.4719, allocations: 311.9 kB / 0.9582 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.472, allocations: 190 kB / 0.9584 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.472, allocations: 185.7 kB / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.4721, allocations: 102.6 kB / 0.9586 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.4722, allocations: 181.4 kB / 0.9588 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.4722, allocations: 102.7 kB / 0.9589 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.4722, allocations: 86.45 kB / 0.959 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4722, allocations: 0 / 0.959 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000292/0.4725, allocations: 59.86 kB / 0.959 GB, free: 15.43 MB / 0.7325 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.0007061/0.4733, allocations: 0.9718 MB / 0.96 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.4733, allocations: 11.47 kB / 0.96 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4733, allocations: 4.062 kB / 0.96 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.4733, allocations: 3.938 kB / 0.96 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4737, allocations: 0.5225 MB / 0.9605 GB, free: 14.01 MB / 0.7325 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.0009451/0.4746, allocations: 1.35 MB / 0.9618 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.4748, allocations: 0.679 MB / 0.9625 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.4749, allocations: 2.75 kB / 0.9625 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.4749, allocations: 9.812 kB / 0.9625 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.4749, allocations: 0 / 0.9625 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6807/1.156, allocations: 2.482 MB / 0.9649 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/1.156, allocations: 290.3 kB / 0.9652 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.675, allocations: 0 / 0.9652 GB, free: 10.27 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches