Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008434/0.0008434, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8963/0.8963, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.79/1.79, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.655e-05, allocations: 5.234 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001909/0.001935, allocations: 1.286 MB / 0.9822 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.003491, allocations: 1.543 MB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.003526, allocations: 0 / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.003547, allocations: 4 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.003782, allocations: 15.86 kB / 0.9838 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.004254, allocations: 219.4 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.004326, allocations: 27.91 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.004368, allocations: 4 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.004496, allocations: 27.86 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.004549, allocations: 7.984 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004563, allocations: 0 / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.004777, allocations: 155.7 kB / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.00479, allocations: 7.984 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.004808, allocations: 8 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.005006, allocations: 167.5 kB / 0.9844 GB, free: 15.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005008, allocations: 0 / 0.9844 GB, free: 15.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005009, allocations: 4 kB / 0.9844 GB, free: 15.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005013, allocations: 0 / 0.9844 GB, free: 15.1 MB / 0.948 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.0003031/0.005316, allocations: 296.4 kB / 0.9846 GB, free: 14.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.005355, allocations: 8.031 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.005394, allocations: 106 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.005447, allocations: 80.22 kB / 0.9848 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.005557, allocations: 177.1 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.005598, allocations: 158.9 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.005639, allocations: 154.9 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.667e-05/0.005696, allocations: 113.2 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.005719, allocations: 75.28 kB / 0.9855 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.005755, allocations: 158.4 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.00579, allocations: 150.6 kB / 0.9858 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.979e-05/0.00583, allocations: 154.6 kB / 0.9859 GB, free: 13.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.006024, allocations: 428.9 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.006097, allocations: 177.1 kB / 0.9865 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.006122, allocations: 88.12 kB / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.006142, allocations: 79.27 kB / 0.9866 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.006174, allocations: 109.8 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.006175, allocations: 4 kB / 0.9868 GB, free: 12.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.719e-05/0.006232, allocations: 29.7 kB / 0.9868 GB, free: 12.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.006276, allocations: 126.7 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.006355, allocations: 105.8 kB / 0.987 GB, free: 12.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.006365, allocations: 25.7 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.006397, allocations: 88.08 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.0064, allocations: 0 / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.006428, allocations: 21.72 kB / 0.9871 GB, free: 12.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.006506, allocations: 314.8 kB / 0.9874 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.006517, allocations: 4 kB / 0.9874 GB, free: 11.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.006573, allocations: 111.7 kB / 0.9875 GB, free: 11.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.006608, allocations: 22.52 kB / 0.9876 GB, free: 11.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00661, allocations: 0 / 0.9876 GB, free: 11.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001121/0.006722, allocations: 49.62 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.006736, allocations: 11.94 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006741, allocations: 0 / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.006753, allocations: 256 / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.006821, allocations: 8.094 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.006828, allocations: 8 kB / 0.9876 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.006927, allocations: 11.94 kB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.006937, allocations: 4 kB / 0.9877 GB, free: 11.47 MB / 0.948 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 7.632e-05/0.007014, allocations: 185.1 kB / 0.9878 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.007053, allocations: 112.9 kB / 0.9879 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.007087, allocations: 104.1 kB / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.421e-05/0.007131, allocations: 180.2 kB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/0.00718, allocations: 188.2 kB / 0.9884 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.467e-05/0.007225, allocations: 176.3 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.007377, allocations: 388.2 kB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/0.007405, allocations: 101 kB / 0.989 GB, free: 9.969 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.007431, allocations: 101 kB / 0.9891 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/0.007478, allocations: 188.1 kB / 0.9893 GB, free: 9.672 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.007524, allocations: 176.3 kB / 0.9895 GB, free: 9.492 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.452e-05/0.007569, allocations: 180.2 kB / 0.9896 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.007615, allocations: 188.3 kB / 0.9898 GB, free: 9.117 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.007721, allocations: 307.7 kB / 0.9901 GB, free: 8.793 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.007751, allocations: 105 kB / 0.9902 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.007814, allocations: 188.1 kB / 0.9904 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.007864, allocations: 105 kB / 0.9905 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.007917, allocations: 184.3 kB / 0.9907 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.007973, allocations: 104.9 kB / 0.9908 GB, free: 8.086 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.008009, allocations: 83.27 kB / 0.9909 GB, free: 8.004 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00801, allocations: 0 / 0.9909 GB, free: 8.004 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002159/0.008225, allocations: 51.81 kB / 0.9909 GB, free: 7.953 MB / 0.948 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.0006588/0.008884, allocations: 0.9919 MB / 0.9919 GB, free: 6.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.008962, allocations: 7.938 kB / 0.9919 GB, free: 6.973 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008963, allocations: 4.188 kB / 0.9919 GB, free: 6.969 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.008964, allocations: 4 kB / 0.9919 GB, free: 6.965 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.009198, allocations: 455.7 kB / 0.9923 GB, free: 6.516 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.01002, allocations: 1.348 MB / 0.9936 GB, free: 5.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.01006, allocations: 59.34 kB / 0.9937 GB, free: 4.992 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.01009, allocations: 4 kB / 0.9937 GB, free: 4.988 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.01011, allocations: 8.5 kB / 0.9937 GB, free: 4.98 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.01011, allocations: 0 / 0.9937 GB, free: 4.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.0272, allocations: 3.303 MB / 0.9969 GB, free: 1.836 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/6.831, allocations: 8.047 kB / 0.9969 GB, free: 1.828 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.140974750742316]