Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001116/0.001116, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.0009625/0.0009625, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9264/0.9264, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.801/1.801, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.966e-05, allocations: 3.125 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002277/0.002306, allocations: 1.326 MB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.004393, allocations: 1.577 MB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.004434, allocations: 1.219 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.004458, allocations: 3.938 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.004698, allocations: 15.97 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.005321, allocations: 218.6 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.005398, allocations: 20.62 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.005436, allocations: 7.969 kB / 0.7902 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.005591, allocations: 32.77 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.005658, allocations: 7.984 kB / 0.7902 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.00567, allocations: 0.6562 kB / 0.7902 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.005981, allocations: 157 kB / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.005994, allocations: 0 / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.006018, allocations: 11.92 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.006285, allocations: 163.6 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006288, allocations: 1.594 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006289, allocations: 4 kB / 0.7906 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.006294, allocations: 0 / 0.7906 GB, free: 8.906 MB / 0.7448 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.0003446/0.006638, allocations: 391.9 kB / 0.7909 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.006679, allocations: 8.969 kB / 0.7909 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.006753, allocations: 120.5 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.006892, allocations: 243.7 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.006958, allocations: 250.1 kB / 0.7915 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.007031, allocations: 238.8 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.007095, allocations: 153.4 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.007125, allocations: 123.1 kB / 0.792 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.007183, allocations: 238.4 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/0.007241, allocations: 238.4 kB / 0.7925 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.007296, allocations: 238.4 kB / 0.7927 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.007571, allocations: 0.5837 MB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.007665, allocations: 270.1 kB / 0.7935 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.0077, allocations: 126.9 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.007729, allocations: 124.8 kB / 0.7938 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.007775, allocations: 152.6 kB / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.007777, allocations: 0 / 0.7939 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.665e-05/0.007853, allocations: 33.64 kB / 0.7939 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.007913, allocations: 171.5 kB / 0.7941 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.008027, allocations: 169.9 kB / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.00804, allocations: 25.7 kB / 0.7943 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.008086, allocations: 132.4 kB / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.008088, allocations: 3.938 kB / 0.7944 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.008126, allocations: 31.36 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.008242, allocations: 492.1 kB / 0.7949 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.008254, allocations: 1.344 kB / 0.7949 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.008321, allocations: 116.2 kB / 0.795 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.008367, allocations: 31.56 kB / 0.7951 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008369, allocations: 5.406 kB / 0.7951 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001297/0.008499, allocations: 49.62 kB / 0.7951 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.008513, allocations: 6.25 kB / 0.7951 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008517, allocations: 1.594 kB / 0.7951 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.008532, allocations: 7.938 kB / 0.7951 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.008599, allocations: 4 kB / 0.7951 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.008605, allocations: 3.984 kB / 0.7951 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.0087, allocations: 12.89 kB / 0.7952 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.008709, allocations: 4 kB / 0.7952 GB, free: 3.953 MB / 0.7448 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.0001006/0.00881, allocations: 276.3 kB / 0.7954 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.008875, allocations: 156.8 kB / 0.7956 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.008922, allocations: 148.6 kB / 0.7957 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-05/0.008984, allocations: 273.1 kB / 0.796 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.408e-05/0.009048, allocations: 268 kB / 0.7962 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-05/0.009109, allocations: 268.1 kB / 0.7965 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.009306, allocations: 0.4889 MB / 0.797 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-05/0.009341, allocations: 144.9 kB / 0.7971 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.009514, allocations: 149.4 kB / 0.7972 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.307e-05/0.009577, allocations: 277.4 kB / 0.7975 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.009639, allocations: 268.1 kB / 0.7978 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.335e-05/0.009703, allocations: 276.1 kB / 0.798 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-05/0.009761, allocations: 268 kB / 0.7983 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.009904, allocations: 449.4 kB / 0.7987 GB, free: 160 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.009952, allocations: 148.9 kB / 0.7989 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.01004, allocations: 272 kB / 0.7991 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.01011, allocations: 149.7 kB / 0.7993 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.01018, allocations: 272 kB / 0.7995 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.01022, allocations: 150.1 kB / 0.7997 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.01027, allocations: 127.2 kB / 0.7998 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01027, allocations: 1.344 kB / 0.7998 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003257/0.01059, allocations: 59.73 kB / 0.7998 GB, free: 14.97 MB / 0.7605 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.0005821/0.01118, allocations: 403.6 kB / 0.8002 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.01127, allocations: 19.62 kB / 0.8002 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01127, allocations: 0 / 0.8002 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.01127, allocations: 0 / 0.8002 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.01164, allocations: 0.7023 MB / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.01219, allocations: 246.7 kB / 0.8012 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.01223, allocations: 51.92 kB / 0.8012 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.01226, allocations: 0.9062 kB / 0.8012 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.01227, allocations: 12.5 kB / 0.8012 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.01227, allocations: 0 / 0.8012 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.00428/0.01655, allocations: 1.937 MB / 0.8031 GB, free: 11.64 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0661337319761515]