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.001151/0.001151, 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.001178/0.001178, allocations: 194.7 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.145/1.145, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 2.014/2.014, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4628, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001746/0.4645, allocations: 1.268 MB / 0.951 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.4659, allocations: 1.429 MB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.466, allocations: 3.938 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.466, allocations: 0 / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.4661, allocations: 23.88 kB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.4666, allocations: 217.4 kB / 0.9526 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.4666, allocations: 23.02 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.049e-05/0.4667, allocations: 1.312 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.4667, allocations: 9.594 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.4668, allocations: 22.78 kB / 0.9526 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.4668, allocations: 1.188 kB / 0.9526 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.467, allocations: 150.3 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.4671, allocations: 9.734 kB / 0.9528 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.4671, allocations: 4.281 kB / 0.9528 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.4673, allocations: 145.8 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4673, allocations: 4.969 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4673, allocations: 0 / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.4673, allocations: 0 / 0.9529 GB, free: 6.699 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.0002371/0.4675, allocations: 369.1 kB / 0.9533 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.4676, allocations: 10.5 kB / 0.9533 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.163e-05/0.4676, allocations: 114 kB / 0.9534 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.4676, allocations: 77.53 kB / 0.9535 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.4677, allocations: 241.1 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4678, allocations: 156.3 kB / 0.9539 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.4678, allocations: 157.5 kB / 0.954 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.885e-05/0.4678, allocations: 102.2 kB / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4678, allocations: 79.28 kB / 0.9542 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4678, allocations: 154.5 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.4679, allocations: 151.9 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.4679, allocations: 150.6 kB / 0.9546 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.468, allocations: 462 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.4681, allocations: 174.5 kB / 0.9552 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.4681, allocations: 81.42 kB / 0.9553 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.4681, allocations: 79.22 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.4681, allocations: 106.8 kB / 0.9555 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4681, allocations: 0 / 0.9555 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.52e-05/0.4682, allocations: 35.92 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.4682, allocations: 134.6 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.4683, allocations: 109 kB / 0.9558 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.4683, allocations: 27.08 kB / 0.9558 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.4683, allocations: 81.58 kB / 0.9559 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-06/0.4683, allocations: 0 / 0.9559 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.4683, allocations: 23.55 kB / 0.9559 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.4684, allocations: 320.1 kB / 0.9562 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.4684, allocations: 5.156 kB / 0.9562 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.4684, allocations: 33.5 kB / 0.9562 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.4685, allocations: 23.39 kB / 0.9563 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4685, allocations: 1.25 kB / 0.9563 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.418e-05/0.4686, allocations: 53.92 kB / 0.9563 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.4686, allocations: 5.125 kB / 0.9563 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.4686, allocations: 1.094 kB / 0.9563 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.4686, allocations: 5.453 kB / 0.9563 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.4687, allocations: 9.031 kB / 0.9563 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4687, allocations: 1.406 kB / 0.9563 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.4688, allocations: 11.55 kB / 0.9563 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.4688, allocations: 2.781 kB / 0.9563 GB, free: 3.078 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.277e-05/0.4689, allocations: 191.5 kB / 0.9565 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.4689, allocations: 102.4 kB / 0.9566 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.4689, allocations: 121.2 kB / 0.9567 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.4689, allocations: 177.8 kB / 0.9569 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.469, allocations: 176.3 kB / 0.9571 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.469, allocations: 189.3 kB / 0.9573 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.761e-05/0.4691, allocations: 408.1 kB / 0.9576 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4691, allocations: 105.5 kB / 0.9577 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.4691, allocations: 102.5 kB / 0.9578 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/0.4691, allocations: 181.6 kB / 0.958 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.4692, allocations: 180.2 kB / 0.9582 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.4692, allocations: 181.1 kB / 0.9584 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/0.4692, allocations: 185.5 kB / 0.9585 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.722e-05/0.4692, allocations: 308 kB / 0.9588 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.4693, allocations: 186.1 kB / 0.959 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.4693, allocations: 185.7 kB / 0.9592 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.4694, allocations: 110.3 kB / 0.9593 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.4695, allocations: 177.8 kB / 0.9595 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.4695, allocations: 105.2 kB / 0.9596 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.4695, allocations: 91.58 kB / 0.9596 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4695, allocations: 0 / 0.9596 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002658/0.4698, allocations: 51.61 kB / 0.9597 GB, free: 15.48 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.000608/0.4704, allocations: 0.9624 MB / 0.9606 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.481e-05/0.4705, allocations: 15.05 kB / 0.9606 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.4705, allocations: 0 / 0.9606 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.4705, allocations: 1.594 kB / 0.9607 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.4708, allocations: 461.8 kB / 0.9611 GB, free: 14.14 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.0008391/0.4716, allocations: 1.344 MB / 0.9624 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.4718, allocations: 0.6792 MB / 0.9631 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.4719, allocations: 6.281 kB / 0.9631 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.4719, allocations: 12.81 kB / 0.9631 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.4719, allocations: 1.469 kB / 0.9631 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8058/1.278, allocations: 2.599 MB / 0.9656 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/8.632, allocations: 14.59 kB / 0.9656 GB, free: 10.66 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