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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009956/0.009956, 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.001972/0.001972, allocations: 197 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 2.311/2.311, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.675/3.675, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 59.22 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3626, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003177/0.3659, allocations: 1.262 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.3685, allocations: 1.45 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3686, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.3686, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.3689, allocations: 11.92 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.3697, allocations: 219.3 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.184e-05/0.3698, allocations: 19.94 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.3699, allocations: 3.984 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.37, allocations: 23.88 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3701, allocations: 11.97 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3701, allocations: 0 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.3705, allocations: 167.8 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.3705, allocations: 4 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3706, allocations: 15.92 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.3709, allocations: 147.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3709, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3709, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3709, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 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.0004497/0.3714, allocations: 366.4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3714, allocations: 8.031 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.3715, allocations: 110 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.394e-05/0.3716, allocations: 88.12 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3717, allocations: 239.7 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.3718, allocations: 154.9 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.3719, allocations: 158.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.901e-05/0.372, allocations: 108.9 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.372, allocations: 75.28 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.3721, allocations: 154.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/0.3722, allocations: 150.6 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.3723, allocations: 150.6 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3726, allocations: 457.9 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.3727, allocations: 185 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.3728, allocations: 84.14 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.3728, allocations: 75.28 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.423e-05/0.3729, allocations: 109.8 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3729, allocations: 3.938 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.866e-05/0.373, allocations: 25.7 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.3731, allocations: 138.6 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3732, allocations: 102.4 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3733, allocations: 29.7 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.3733, allocations: 84.14 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3733, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.3734, allocations: 17.72 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3735, allocations: 318.8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.3735, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.3736, allocations: 30.58 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/0.3736, allocations: 26.5 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3737, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001547/0.3738, allocations: 53.58 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3738, allocations: 8.094 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3739, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3739, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.374, allocations: 11.98 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.374, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.3741, allocations: 12.12 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3742, allocations: 7.922 kB / 1.094 GB, free: 10.92 MB / 0.8575 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.0001276/0.3743, allocations: 193.6 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.3744, allocations: 113.2 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3744, allocations: 104.1 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-05/0.3745, allocations: 176.3 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001093/0.3746, allocations: 188.2 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.053e-05/0.3747, allocations: 184.3 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.375, allocations: 405.1 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-05/0.375, allocations: 105 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3751, allocations: 109 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-05/0.3752, allocations: 180.2 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.3753, allocations: 176.3 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.03e-05/0.3753, allocations: 184.2 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.986e-05/0.3754, allocations: 188.2 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.3756, allocations: 307.7 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.3757, allocations: 178.1 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.3758, allocations: 184.2 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.3759, allocations: 101 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.376, allocations: 188.2 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.376, allocations: 105 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.3761, allocations: 83.27 kB / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3761, allocations: 0 / 1.097 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003813/0.3765, allocations: 51.94 kB / 1.097 GB, free: 7.266 MB / 0.8575 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.0009755/0.3774, allocations: 0.9755 MB / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.3776, allocations: 12 kB / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3776, allocations: 0 / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.3776, allocations: 0 / 1.098 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.378, allocations: 459.8 kB / 1.099 GB, free: 5.836 MB / 0.8575 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.001226/0.3792, allocations: 1.346 MB / 1.1 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.3795, allocations: 0.6807 MB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.3795, allocations: 0 / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.3796, allocations: 11.44 kB / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.3796, allocations: 0 / 1.101 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9702/1.35, allocations: 2.648 MB / 1.103 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.38, allocations: 17.52 kB / 1.103 GB, free: 1.176 MB / 0.8575 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