Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_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.006991/0.006991, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001661/0.00166, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.476/2.476, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 64.12 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7595, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002202/0.7618, allocations: 1.274 MB / 1.209 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.7638, allocations: 1.444 MB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.7639, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.7639, allocations: 7.938 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.7641, allocations: 7.938 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.7648, allocations: 222.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.7649, allocations: 23.86 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.7649, allocations: 3.984 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.765, allocations: 12 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.7651, allocations: 23.84 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.7651, allocations: 0 / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.7654, allocations: 155.9 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.7655, allocations: 7.984 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.7655, allocations: 19.86 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.7658, allocations: 139.8 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7658, allocations: 7.938 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7658, allocations: 0 / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7658, allocations: 0 / 1.211 GB, free: 10.22 MB / 0.9356 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.0003765/0.7662, allocations: 369.7 kB / 1.211 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7662, allocations: 8.031 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.7663, allocations: 106 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.7664, allocations: 80.22 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.7665, allocations: 243.6 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.7666, allocations: 158.9 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.7666, allocations: 158.5 kB / 1.212 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.583e-05/0.7667, allocations: 104.9 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7667, allocations: 75.28 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.7668, allocations: 150.6 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.7668, allocations: 154.6 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.389e-05/0.7669, allocations: 154.6 kB / 1.212 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.7671, allocations: 453.9 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.7672, allocations: 173 kB / 1.213 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.7673, allocations: 88.08 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.7673, allocations: 79.27 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.7673, allocations: 113.9 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7673, allocations: 4 kB / 1.213 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.932e-05/0.7674, allocations: 29.69 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.7675, allocations: 126.7 kB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.7676, allocations: 101.9 kB / 1.213 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.7676, allocations: 41.62 kB / 1.213 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.7677, allocations: 80.14 kB / 1.213 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-06/0.7677, allocations: 7.984 kB / 1.213 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.7677, allocations: 17.72 kB / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.7678, allocations: 310.8 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.7678, allocations: 7.984 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.7679, allocations: 22.58 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.7679, allocations: 34.45 kB / 1.214 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7679, allocations: 0 / 1.214 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.768, allocations: 57.47 kB / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7681, allocations: 4 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7681, allocations: 4 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7681, allocations: 4.094 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.7682, allocations: 7.984 kB / 1.214 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.7682, allocations: 0 / 1.214 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.7683, allocations: 4 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.7683, allocations: 8 kB / 1.214 GB, free: 6.496 MB / 0.9356 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 9.327e-05/0.7684, allocations: 193 kB / 1.214 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.7685, allocations: 104.9 kB / 1.214 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.7685, allocations: 112.2 kB / 1.214 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/0.7686, allocations: 184.3 kB / 1.214 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/0.7687, allocations: 180.2 kB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.051e-05/0.7687, allocations: 180.2 kB / 1.215 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.7689, allocations: 409.1 kB / 1.215 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.769, allocations: 105 kB / 1.215 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.769, allocations: 105 kB / 1.215 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.7691, allocations: 184.2 kB / 1.216 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7692, allocations: 176.3 kB / 1.216 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.525e-05/0.7693, allocations: 184.1 kB / 1.216 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.344e-05/0.7693, allocations: 176.3 kB / 1.216 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.7695, allocations: 319.7 kB / 1.216 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.7695, allocations: 178.1 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.7696, allocations: 188.4 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.7697, allocations: 105 kB / 1.217 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.7697, allocations: 184.3 kB / 1.217 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.7698, allocations: 108.9 kB / 1.217 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.7698, allocations: 79.28 kB / 1.217 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7698, allocations: 0 / 1.217 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003189/0.7701, allocations: 47.98 kB / 1.217 GB, free: 2.844 MB / 0.9356 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.0007599/0.7709, allocations: 0.9846 MB / 1.218 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.771, allocations: 7.938 kB / 1.218 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.771, allocations: 0 / 1.218 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.771, allocations: 0 / 1.218 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.7713, allocations: 459.8 kB / 1.219 GB, free: 1.406 MB / 0.9356 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.001033/0.7724, allocations: 1.349 MB / 1.22 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.7726, allocations: 0.6729 MB / 1.221 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.7726, allocations: 4 kB / 1.221 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.7726, allocations: 18.56 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.7727, allocations: 0 / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5344/1.307, allocations: 2.648 MB / 1.223 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.188/8.495, allocations: 4.5 kB / 1.223 GB, free: 12.76 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches